https://github.com/postgres/postgres
Revision 4f9f495889d3d410195c9891b58228727b340189 authored by Robert Haas on 01 July 2016, 12:51:58 UTC, committed by Robert Haas on 01 July 2016, 13:04:11 UTC
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.
1 parent 10c0558
History
Tip revision: 4f9f495889d3d410195c9891b58228727b340189 authored by Robert Haas on 01 July 2016, 12:51:58 UTC
Fix crash bug in RestoreSnapshot.
Tip revision: 4f9f495
File Mode Size
config
contrib
doc
src
.dir-locals.el -rw-r--r-- 738 bytes
.gitattributes -rw-r--r-- 1.7 KB
.gitignore -rw-r--r-- 434 bytes
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 3.6 KB
HISTORY -rw-r--r-- 283 bytes
Makefile -rw-r--r-- 1.5 KB
README -rw-r--r-- 1.2 KB
README.git -rw-r--r-- 727 bytes
aclocal.m4 -rw-r--r-- 384 bytes
configure -rwxr-xr-x 459.3 KB
configure.in -rw-r--r-- 72.9 KB

README

back to top