Add new function log_newpage_buffer.

Robert Haas <rhaas@postgresql.org>

Commit: 6cd015bea38b8a59feb84bf238a880a3b503cf5f
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-06-14T14:11:16Z
Releases: 9.3.0
Add new function log_newpage_buffer.

When I implemented the ginbuildempty() function as part of
implementing unlogged tables, I falsified the note in the header
comment for log_newpage.  Although we could fix that up by changing
the comment, it seems cleaner to add a new function which is
specifically intended to handle this case.  So do that.

Files

PathChange+/−
src/backend/access/gin/gininsert.c modified +3 −9
src/backend/access/heap/heapam.c modified +50 −4
src/include/access/heapam.h modified +1 −0