aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regcomp.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:01 +0200
commit2aaa14d4218350756bc51ab623dbf1f43dbe3fc1 (patch)
tree6d74c57efa480dd3a9741b34ada6987c3419f47f /src/backend/regex/regcomp.c
parentf835b71750c58319906aa36c4f00812843f97eb9 (diff)
downloadpostgresql-2aaa14d4218350756bc51ab623dbf1f43dbe3fc1.tar.gz
postgresql-2aaa14d4218350756bc51ab623dbf1f43dbe3fc1.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/backend/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions