Re: [COMMITTERS] pgsql: Fix pg_dumpall with database names containing = - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [COMMITTERS] pgsql: Fix pg_dumpall with database names containing =
Date
Msg-id 512E021D.1050109@vmware.com
Whole thread Raw
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: "COPY foo FROM STDOUT" and ecpg
Next
From: Heikki Linnakangas
Date:
Subject: Re: Review : Add hooks for pre- and post-processor executables for COPY and \copy