Skip to content

Commit 640d0dc

Browse files
committed
Fix compiler warning in the proper way.
1 parent 6ec4520 commit 640d0dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/bin/pg_dump/pg_dumpall.c

Lines changed: 3 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.48 2004/08/08 06:58:00 momjian Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.49 2004/08/08 07:00:22 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -870,9 +870,10 @@ runPgDump(const char *dbname)
870870
appendPQExpBufferChar(cmd, '\'');
871871
#else
872872
appendPQExpBufferChar(cmd, '"');
873-
appendPQExpBuffer(cmd, SYSTEMQUOTE);
874873
#endif
875874

875+
appendPQExpBuffer(cmd, "%s", SYSTEMQUOTE);
876+
876877
if (verbose)
877878
fprintf(stderr, _("%s: running \"%s\"\n"), progname, cmd->data);
878879

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy