Hi David, > On 17. Aug, 2020, at 21:52, David Gauthier <davegauthierpg@xxxxxxxxx> wrote: > > 9.6.7 on linux ok, 12.4 here, but anyway. Try this: $ psql -v osuser=foo psql (12.4) Type "help" for help. postgres=# \echo :osuser foo Cheers, Paul
Hi David, > On 17. Aug, 2020, at 21:52, David Gauthier <davegauthierpg@xxxxxxxxx> wrote: > > 9.6.7 on linux ok, 12.4 here, but anyway. Try this: $ psql -v osuser=foo psql (12.4) Type "help" for help. postgres=# \echo :osuser foo Cheers, Paul