This patch ensures that the PD_PAGE_FULL bit is restored after replaying
a heap_update WAL record.  I think this must have been overlooked on the
HOT patch.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
*** src/backend/access/heap/heapam.c	31 Oct 2008 19:40:26 -0000	1.268
--- src/backend/access/heap/heapam.c	7 Nov 2008 15:29:04 -0000
***************
*** 4389,4394 ****
--- 4389,4396 ----
  	 */
  	if (samepage)
  		goto newsame;
+ 	if (!hot_update && !move)
+ 		PageSetFull(page);
  	PageSetLSN(page, lsn);
  	PageSetTLI(page, ThisTimeLineID);
  	MarkBufferDirty(buffer);
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to