From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Thom Brown <thom@linux.com>
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Subject: Re: [COMMITTERS] pgsql: Fix pg_dumpall with database names containing =
Date: Wed, 27 Feb 2013 14:54:53 +0200
Message-ID: <512E021D.1050109@vmware.com> (raw)
In-Reply-To: <CAA-aLv56tg-=-wd--vN6FDao3LpRBqoXJoC+HrQ+VW4D6mTXjw@mail.gmail.com>
References: <E1U8BNY-0008Uu-7A@gemulon.postgresql.org>
<CAA-aLv5ZECCtzuBVWW8oB5yN0GCxFSNb9Eb1Onqj40fFxTRnxA@mail.gmail.com>
<512CE2D6.2010204@vmware.com>
<CAA-aLv56tg-=-wd--vN6FDao3LpRBqoXJoC+HrQ+VW4D6mTXjw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: hlinnakangas@vmware.com, thom@linux.com, pgsql-hackers@postgreSQL.org
Subject: Re: [COMMITTERS] pgsql: Fix pg_dumpall with database names containing =
In-Reply-To: <512E021D.1050109@vmware.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox