aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-07-01 08:51:58 -0400
committerRobert Haas <rhaas@postgresql.org>2016-07-01 09:04:11 -0400
commit4f9f495889d3d410195c9891b58228727b340189 (patch)
tree29f5a4b83f227221cab42c28d3590892e49461e9 /contrib/postgres_fdw/postgres_fdw.c
parent10c0558ffefcd12bf1d3dc35587eba41d1ce4571 (diff)
downloadpostgresql-4f9f495889d3d410195c9891b58228727b340189.tar.gz
postgresql-4f9f495889d3d410195c9891b58228727b340189.zip
Fix crash bug in RestoreSnapshot.
If serialized_snapshot->subxcnt > 0 and serialized_snapshot->xcnt == 0, the old coding would do the wrong thing and crash. This can happen on standby servers. Report by Andreas Seltenreich. Patch by Thomas Munro, reviewed by Amit Kapila and tested by Andreas Seltenreich.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions