Add new function log_newpage_buffer.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| 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 |