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

Commit83b59ca

Browse files
knizhnikkelvich
authored andcommitted
Fix bug in monotonic sequences support
1 parent76741a1 commit83b59ca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎pglogical_apply.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,11 +1161,13 @@ void MtmExecutor(void* work, size_t size)
11611161
case'N':
11621162
{
11631163
int64next;
1164+
Oidrelid;
11641165
Assert(rel!=NULL);
1165-
next=pq_getmsgint64(&s);
1166-
AdjustSequence(RelationGetRelid(rel),next);
1166+
relid=RelationGetRelid(rel);
11671167
close_rel(rel);
11681168
rel=NULL;
1169+
next=pq_getmsgint64(&s);
1170+
AdjustSequence(relid,next);
11691171
break;
11701172
}
11711173
case'0':

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp