diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-02-20 17:08:54 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-02-20 17:12:27 +0200 |
commit | 957bafb2091136161cb7f1a8a56439310c6bd1b2 (patch) | |
tree | b054be897628d49e2a8258178224e2f4a88a8832 /src/backend/regex/regcomp.c | |
parent | 23ef96327f9ea2a0213d05831175a3ac1b472f29 (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 'src/backend/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions