1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00
Files
postgres/src/backend
Heikki Linnakangas fdf28853ae 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:41:30 +03:00
..
2015-05-23 21:35:49 -04:00
2015-05-23 21:35:49 -04:00
2015-05-23 21:35:49 -04:00
2015-06-27 10:17:42 +03:00
2015-06-28 23:56:55 -04:00
2015-06-10 21:30:17 -04:00
2015-05-23 21:35:49 -04:00
2015-01-06 11:43:47 -05:00
2015-02-01 23:23:40 -05:00