From: Bruce Momjian Date: Wed, 9 Jun 2004 17:37:28 +0000 (+0000) Subject: Use single quotes around pg_dump call from pg_dumpall. X-Git-Tag: REL8_0_0BETA1~406 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a0df651da253879bf133a8556853acfb1f664fd;p=postgresql Use single quotes around pg_dump call from pg_dumpall. --- diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c index 2eb82d36bb..2a0a8dae61 100644 --- a/src/bin/pg_dump/pg_dumpall.c +++ b/src/bin/pg_dump/pg_dumpall.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.39 2004/06/09 17:05:14 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.40 2004/06/09 17:37:28 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -690,7 +690,7 @@ runPgDump(const char *dbname) const char *p; int ret; - appendPQExpBuffer(cmd, "\"%s\" %s -Fp '", pg_dump_bin, pgdumpopts->data); + appendPQExpBuffer(cmd, "'%s' %s -Fp '", pg_dump_bin, pgdumpopts->data); /* Shell quoting is not quite like SQL quoting, so can't use fmtId */ for (p = dbname; *p; p++)