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

Commit8ba3cb2

Browse files
committed
Fix for change timeline field of IDENTIFY_SYSTEM to int8
Amendment toec40f34: We also need tochange the way the datum is supplied to int8. Otherwise, the value isstill cut off as an int4, and it will crash on 32-bit platforms.
1 parentec40f34 commit8ba3cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/replication/walsender.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ IdentifySystem(void)
457457
values[0]=CStringGetTextDatum(sysid);
458458

459459
/* column 2: timeline */
460-
values[1]=Int32GetDatum(currTLI);
460+
values[1]=Int64GetDatum(currTLI);
461461

462462
/* column 3: wal location */
463463
values[2]=CStringGetTextDatum(xloc);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp