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

Commit8eb2919

Browse files
committed
pg_dump/pg_dumpall: remove unnecessary SQL trailing semicolons
Patch by Ian Lawrence Barwick
1 parentd074b4e commit8eb2919

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12761,7 +12761,6 @@ createViewAsClause(Archive *fout, TableInfo *tbinfo)
1276112761
appendPQExpBuffer(query,"SELECT definition AS viewdef "
1276212762
"FROM pg_views WHERE viewname = ");
1276312763
appendStringLiteralAH(query,tbinfo->dobj.name,fout);
12764-
appendPQExpBuffer(query,";");
1276512764
}
1276612765

1276712766
res=ExecuteSqlQuery(fout,query->data,PGRES_TUPLES_OK);

‎src/bin/pg_dump/pg_dumpall.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,8 +1428,6 @@ dumpDatabaseConfig(PGconn *conn, const char *dbname)
14281428
if (server_version >=90000)
14291429
appendPQExpBuffer(buf,")");
14301430

1431-
appendPQExpBuffer(buf,";");
1432-
14331431
res=executeQuery(conn,buf->data);
14341432
if (PQntuples(res)==1&&
14351433
!PQgetisnull(res,0,0))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp