aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2014-11-13 19:06:43 +0100
committerAndres Freund <andres@anarazel.de>2014-11-13 20:34:51 +0100
commitda668a5d8f92af33d1f01b20993f4e1cf3735973 (patch)
tree19e49560e7ccf9b524d7a3fb03de154232c44c1c /contrib/postgres_fdw/postgres_fdw.c
parent8fc23a9ed0a040d039431ef79b1bf166395ed180 (diff)
downloadpostgresql-da668a5d8f92af33d1f01b20993f4e1cf3735973.tar.gz
postgresql-da668a5d8f92af33d1f01b20993f4e1cf3735973.zip
Fix xmin/xmax horizon computation during logical decoding initialization.
When building the initial historic catalog snapshot there were scenarios where snapbuild.c would use incorrect xmin/xmax values when starting from a xl_running_xacts record. The values used were always a bit suspect, but happened to be correct in the easy to test cases. Notably the values used when the the initial snapshot was computed while no other transactions were running were correct. This is likely to be the cause of the occasional buildfarm failures on animals markhor and tick; but it's quite possible to reproduce problems without CLOBBER_CACHE_ALWAYS. Backpatch to 9.4, where logical decoding was introduced.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions