Add new function log_newpage_buffer.
authorRobert Haas <[email protected]>
Thu, 14 Jun 2012 14:11:16 +0000 (10:11 -0400)
committerRobert Haas <[email protected]>
Thu, 14 Jun 2012 14:11:16 +0000 (10:11 -0400)
commit6cd015bea38b8a59feb84bf238a880a3b503cf5f
treebe1f8b3b82791166c9dd0fa448e1ef9080eb39b4
parenta475c6036752c26dca538632b68fd2cc592976b7
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.
src/backend/access/gin/gininsert.c
src/backend/access/heap/heapam.c
src/include/access/heapam.h