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

Commit57ce0f8

Browse files
committed
Fix bogus formatting of DROP DATABASE command, per Christopher Kings-Lynne.
1 parentcb23b84 commit57ce0f8

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-
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.12 2003/01/06 18:53:25 petere Exp $
9+
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.13 2003/01/16 15:27:59 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -397,7 +397,7 @@ dumpCreateDB(PGconn *conn)
397397
buf=createPQExpBuffer();
398398

399399
if (output_clean)
400-
appendPQExpBuffer(buf,"DROP DATABASE %s\n;",fmtId(dbname));
400+
appendPQExpBuffer(buf,"DROP DATABASE %s;\n",fmtId(dbname));
401401

402402
appendPQExpBuffer(buf,"CREATE DATABASE %s",fmtId(dbname));
403403
appendPQExpBuffer(buf," WITH OWNER = %s TEMPLATE = template0",fmtId(dbowner));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp