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

Commitad16e8b

Browse files
author
Maxim Orlov
committed
[PGPRO-6310] make compatible with atomic proc->xmin
Due to changing PROC->xmin type to pg_atomic_uint64.
1 parent1b59ad0 commitad16e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/dmq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ dmq_receiver_loop(PG_FUNCTION_ARGS)
14431443
extra=dmq_receiver_start_hook(sender_name);
14441444

14451445
/* do not hold globalxmin. XXX: try to carefully release snaps */
1446-
MyProc->xmin=InvalidTransactionId;
1446+
pg_atomic_write_u64(&MyProc->xmin,InvalidTransactionId);
14471447

14481448
for (;;)
14491449
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp