Fix for change timeline field of IDENTIFY_SYSTEM to int8
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 4 Jul 2022 06:06:05 +0000 (08:06 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 4 Jul 2022 06:06:05 +0000 (08:06 +0200)
commit8ba3cb2f1863e3243aa40d73633bd88f774f74ce
treeeabb526e1ef9334e120100f8775c87aee121ceca
parentec40f3422412cfdc140b5d3f67db7fd2dac0f1e2
Fix for change timeline field of IDENTIFY_SYSTEM to int8

Amendment to ec40f3422412cfdc140b5d3f67db7fd2dac0f1e2: We also need to
change the way the datum is supplied to int8.  Otherwise, the value is
still cut off as an int4, and it will crash on 32-bit platforms.
src/backend/replication/walsender.c