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:08:54 +0200 |
commit | f435cd1d385859a0cdb1d70fccc21dde2b1ee116 (patch) | |
tree | 95f2d37fc9f8a33502f8d0b4297f2d6c0f28faf4 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 2930c05634bcb7491bc443a493405e927ed08443 (diff) | |
download | postgresql-f435cd1d385859a0cdb1d70fccc21dde2b1ee116.tar.gz postgresql-f435cd1d385859a0cdb1d70fccc21dde2b1ee116.zip |
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 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions