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

Commit392ddde

Browse files
committed
Allow precommit to be sent in workers pool when preserve_commit_order=false
1 parent515af13 commit392ddde

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎pglogical_receiver.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,8 @@ pglogical_receiver_main(Datum main_arg)
576576
elog(WARNING,"Commit of prepared transaction takes %lld usec, flags=%x",stop-start,stmt[1]);
577577
}
578578
}else {
579-
Assert(stmt[1]==PGLOGICAL_PREPARE||stmt[1]==PGLOGICAL_COMMIT);/* all other commits should be applied in place */
579+
/* all other commits should be applied in place */
580+
Assert(stmt[1]==PGLOGICAL_PREPARE||stmt[1]==PGLOGICAL_COMMIT||stmt[1]==PGLOGICAL_PRECOMMIT_PREPARED);
580581
MtmExecute(buf.data,buf.used);
581582
}
582583
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp