Thread: Re: [COMMITTERS] pgsql: Fix pg_dumpall with database names containing =

Re: [COMMITTERS] pgsql: Fix pg_dumpall with database names containing =

From
Heikki Linnakangas
Date:
On 27.02.2013 11:52, Thom Brown wrote:
> Once I'm in that database, I can't switch user from within psql:
>
> 8=8=# \c - moo
> invalid connection option "8"
> Previous connection kept

Hmm, true. Also, any other connection options you specified in the 
original connection string are lost. For example, if you first connected 
with:

psql "dbname=foo sslmode=require"

and then did "\c - anotheruser", the second connection would not require 
ssl.

- Heikki