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:24 +0200 |
| commit | 8b4ced45ecbc63a5ffade472e7fc3316cd60bd7f (patch) | |
| tree | 9c8bd426711e28e124083bd7e542760b46155410 /src/test | |
| parent | feae7c3d2bedfccf8c61fafd372b9ddcdae8cc0d (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/test')
0 files changed, 0 insertions, 0 deletions
