mirror of
https://github.com/postgres/postgres.git
synced 2026-02-25 19:02:00 -05:00
Execute SET TRANSACTION SNAPSHOT during pg_dump
Previous coding set the SQL buffer but never executed Bug noted by me during beta testing
This commit is contained in:
parent
8b06e6aba8
commit
b2ad82dafa
1 changed files with 1 additions and 0 deletions
|
|
@ -1034,6 +1034,7 @@ setup_connection(Archive *AH, const char *dumpencoding, char *use_role)
|
|||
|
||||
appendPQExpBuffer(query, "SET TRANSACTION SNAPSHOT ");
|
||||
appendStringLiteralConn(query, AH->sync_snapshot_id, conn);
|
||||
ExecuteSqlStatement(AH, query->data);
|
||||
destroyPQExpBuffer(query);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue