Move log_newpage out of heapam.c

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Move log_newpage out of heapam.c
Date: 2014-07-31 09:39:27
Message-ID: 53DA0ECF.4040002@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

log_newpage is used by many index types, as well as for heaps. But for
historical reasons, it's always been in heapam.c, as part of the Heap
resource manager.

We now have a new record type that just contains a full page image,
XLOG_FPI, used to log hint bit updates when checksums are enabled.

This is a bit silly, so barring objections, I'll commit the attached
patch that moves log_newpage to xlog.c, and makes it use the XLOG_FPI
record format.

- Heikki

Attachment Content-Type Size
move_log_newpage_to_xlog-1.patch text/x-diff 16.2 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-07-31 12:25:43 Re: gaussian distribution pgbench -- splits v4
Previous Message desmodemone 2014-07-31 08:26:38 Re: Proposal: Incremental Backup