Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3a0df65

Browse files
committed
Use single quotes around pg_dump call from pg_dumpall.
1 parentdc6c8c2 commit3a0df65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_dump/pg_dumpall.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
*
9-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.39 2004/06/09 17:05:14 momjian Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.40 2004/06/09 17:37:28 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -690,7 +690,7 @@ runPgDump(const char *dbname)
690690
constchar*p;
691691
intret;
692692

693-
appendPQExpBuffer(cmd,"\"%s\" %s -Fp '",pg_dump_bin,pgdumpopts->data);
693+
appendPQExpBuffer(cmd,"'%s' %s -Fp '",pg_dump_bin,pgdumpopts->data);
694694

695695
/* Shell quoting is not quite like SQL quoting, so can't use fmtId */
696696
for (p=dbname;*p;p++)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp