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

Commitb2ad82d

Browse files
Execute SET TRANSACTION SNAPSHOT during pg_dump
Previous coding set the SQL buffer but never executedBug noted by me during beta testing
1 parent8b06e6a commitb2ad82d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ setup_connection(Archive *AH, const char *dumpencoding, char *use_role)
10341034

10351035
appendPQExpBuffer(query,"SET TRANSACTION SNAPSHOT ");
10361036
appendStringLiteralConn(query,AH->sync_snapshot_id,conn);
1037+
ExecuteSqlStatement(AH,query->data);
10371038
destroyPQExpBuffer(query);
10381039
}
10391040
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp