Content-Length: 258697 | pFad | http://github.com/postgrespro/postgres_cluster/commit/8b992283d9b7b3c9d27181e1b3fd1b6032f318b1

2A do not call XLogIncludeOrigin() for session with DoNotReplicateId · postgrespro/postgres_cluster@8b99228 · GitHub
Skip to content

Commit 8b99228

Browse files
committed
do not call XLogIncludeOrigin() for session with DoNotReplicateId
1 parent 0957c76 commit 8b99228

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/access/transam/twophase.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,8 @@ EndPrepare(GlobalTransaction gxact)
12501250
for (record = records.head; record != NULL; record = record->next)
12511251
XLogRegisterData(record->data, record->len);
12521252

1253-
XLogIncludeOrigin();
1253+
if (replorigen)
1254+
XLogIncludeOrigin();
12541255

12551256
gxact->prepare_end_lsn = XLogInsert(RM_XACT_ID, info);
12561257

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_cluster/commit/8b992283d9b7b3c9d27181e1b3fd1b6032f318b1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy