postgresql/src/bin/pg_dump
Heikki Linnakangas f435cd1d38 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.
2013-02-20 17:08:54 +02:00
..
po Translation updates 2011-08-17 14:07:46 +03:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
common.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
compress_io.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
compress_io.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
dumputils.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
dumputils.h Support multiple -t/--table arguments for more commands 2013-01-17 11:24:47 +01:00
keywords.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
nls.mk Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_backup_archiver.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_backup_archiver.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
pg_backup_custom.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_backup_db.c Don't pass NULL to fprintf, if a bogus connection string is given to pg_dump. 2013-02-20 16:33:24 +02:00
pg_backup_db.h pg_dump: Further reduce reliance on global variables. 2012-02-07 10:07:02 -05:00
pg_backup_directory.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_backup_null.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_backup_tar.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_backup_tar.h Fix tar files emitted by pg_dump and pg_basebackup to be POSIX conformant. 2012-09-28 15:19:15 -04:00
pg_backup.h Support multiple -t/--table arguments for more commands 2013-01-17 11:24:47 +01:00
pg_dump_sort.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_dump.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_dump.h Support multiple -t/--table arguments for more commands 2013-01-17 11:24:47 +01:00
pg_dumpall.c Fix pg_dumpall with database names containing = 2013-02-20 17:08:54 +02:00
pg_restore.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00