diff options
author | Heikki Linnakangas | 2013-02-20 15:08:54 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2013-02-20 15:12:01 +0000 |
commit | 2aaa14d4218350756bc51ab623dbf1f43dbe3fc1 (patch) | |
tree | 6d74c57efa480dd3a9741b34ada6987c3419f47f /doc/src | |
parent | f835b71750c58319906aa36c4f00812843f97eb9 (diff) |
Fix pg_dumpall with database names containing =
If a database name contained a '=' character, pg_dumpall failed. The problem
was in the way pg_dumpall passes the database name to pg_dump on the
command line. If it contained a '=' character, pg_dump would interpret it
as a libpq connection string instead of a plain database name.
To fix, pass the database name to pg_dump as a connection string,
"dbname=foo", with the database name escaped if necessary.
Back-patch to all supported branches.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions