aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
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:03:52 -0400
commit8f4a369c28be28351ce64e12ac895db515dd5916 (patch)
tree0962bbc9206a5329a4734da4875f223c0ecbb09d /src/backend/access/gist
parent8caf9fe62544b351d4f6219bf416f5ce08ef3c21 (diff)
downloadpostgresql-8f4a369c28be28351ce64e12ac895db515dd5916.tar.gz
postgresql-8f4a369c28be28351ce64e12ac895db515dd5916.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 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions