[HACKERS] psql --help=variables lists variables that can't be set

2015-12-03 Thread Peter Eisentraut
psql --help=variables shows variables treated specially by psql. And it tells you Usage: psql --set=NAME=VALUE or \set NAME VALUE But some of the variables listed cannot usefully be set, only read, such as DBNAME the currently connected database name HOST the

Re: [HACKERS] psql --help=variables lists variables that can't be set

2015-12-03 Thread Pavel Stehule
2015-12-04 4:08 GMT+01:00 Peter Eisentraut : > psql --help=variables shows variables treated specially by psql. And it > tells you > > Usage: > psql --set=NAME=VALUE > or \set NAME VALUE > > But some of the variables listed cannot usefully be set, only read, such as > >

Re: [HACKERS] psql --help=variables lists variables that can't be set

2015-12-03 Thread Andres Freund
On 2015-12-03 22:08:31 -0500, Peter Eisentraut wrote: > psql --help=variables shows variables treated specially by psql. And it > tells you > > Usage: > psql --set=NAME=VALUE > or \set NAME VALUE > > But some of the variables listed cannot usefully be set, only read, such as > > DBNAME