Content-Length: 256340 | pFad | http://github.com/postgrespro/postgres/commit/b2ad82dafaae29975dd12e8c43cf2edaa0f23f4b

FE Execute SET TRANSACTION SNAPSHOT during pg_dump · postgrespro/postgres@b2ad82d · GitHub
Skip to content

Commit b2ad82d

Browse files
Execute SET TRANSACTION SNAPSHOT during pg_dump
Previous coding set the SQL buffer but never executed Bug noted by me during beta testing
1 parent 8b06e6a commit b2ad82d

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b2ad82dafaae29975dd12e8c43cf2edaa0f23f4b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy