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

Commit8b99228

Browse files
committed
do not call XLogIncludeOrigin() for session with DoNotReplicateId
1 parent0957c76 commit8b99228

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 (replorigin)
1254+
XLogIncludeOrigin();
12541255

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp