aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-02-20 17:08:54 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-02-20 17:12:30 +0200
commit79f21b31074f3790320cb05e1e913360aba1053f (patch)
treee81249990ca2d1562f272c9b7ea6bab736be9fb3 /src/tutorial/complex.c
parent5c97528df0053a4f92d020474636bde398f697ec (diff)
downloadpostgresql-79f21b31074f3790320cb05e1e913360aba1053f.tar.gz
postgresql-79f21b31074f3790320cb05e1e913360aba1053f.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 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions