pgsql: Add new function log_newpage_buffer. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Add new function log_newpage_buffer.
Date
Msg-id E1SfAnp-0007Iw-Bf@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6cd015bea38b8a59feb84bf238a880a3b503cf5f

Modified Files
--------------
src/backend/access/gin/gininsert.c |   12 ++------
src/backend/access/heap/heapam.c   |   54 +++++++++++++++++++++++++++++++++--
src/include/access/heapam.h        |    1 +
3 files changed, 54 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Remove misplaced sanity check from heap_create().
Next
From: Robert Haas
Date:
Subject: pgsql: During transaction cleanup, release locks before deleting files.