From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add new function log_newpage_buffer. |
Date: | 2012-06-14 14:13:37 |
Message-ID: | E1SfAnp-0007Iw-Bf@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2012-06-14 14:20:56 | pgsql: During transaction cleanup, release locks before deleting files. |
Previous Message | Robert Haas | 2012-06-14 14:01:52 | pgsql: Remove misplaced sanity check from heap_create(). |