postgres/src
Heikki Linnakangas 7dc721889b Don't call PageGetSpecialPointer() on page until it's been initialized.
After calling XLogInitBufferForRedo(), the page might be all-zeros if it was
not in page cache already. btree_xlog_unlink_page initialized the page
correctly, but it called PageGetSpecialPointer before initializing it, which
would lead to a corrupt page at WAL replay, if the unlinked page is not in
page cache.

Backpatch to 9.4, the bug came with the rewrite of B-tree page deletion.
2015-06-30 13:45:00 +03:00
..
backend Don't call PageGetSpecialPointer() on page until it's been initialized. 2015-06-30 13:45:00 +03:00
bin Truncate strings in tarCreateHeader() with strlcpy(), not sprintf(). 2015-06-21 20:04:53 -04:00
common Unlink static libraries before rebuilding them. 2015-03-01 13:06:33 -05:00
include Back-patch some minor bug fixes in GUC code. 2015-06-28 18:38:06 -04:00
interfaces Check for out of memory when allocating sqlca. 2015-06-15 14:22:24 +02:00
makefiles Remove USE_VPATH make variable from PGXS 2014-12-04 08:45:48 -05:00
pl Revert error-throwing wrappers for the printf family of functions. 2015-05-19 18:16:19 -04:00
port Truncate strings in tarCreateHeader() with strlcpy(), not sprintf(). 2015-06-21 20:04:53 -04:00
template Revert to using --enable-auto-import in Cygwin builds. 2014-02-16 15:14:04 -05:00
test Improve error message and hint for ALTER COLUMN TYPE can't-cast failure. 2015-06-12 11:54:03 -04:00
timezone Update time zone data files to tzdata release 2015d. 2015-05-15 19:35:51 -04:00
tools Revert error-throwing wrappers for the printf family of functions. 2015-05-19 18:16:19 -04:00
tutorial pgindent run for 9.4 2014-05-06 12:12:18 -04:00
.gitignore
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Fix installcheck case for tap tests 2014-12-24 10:32:02 -05:00
Makefile.shlib Unlink static libraries before rebuilding them. 2015-03-01 13:06:33 -05:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00