Re: [COMMITTERS] pgsql: Move log_newpage and log_newpage_buffer to xlog.c.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: "hlinnaka(at)iki(dot)fi" <hlinnaka(at)iki(dot)fi>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Move log_newpage and log_newpage_buffer to xlog.c.
Date: 2014-07-31 14:58:59
Message-ID: CA+U5nMJL6kNL_2_2us2ebF-F7Nn4QoPAOq46bvBNihzbn028vA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 31 July 2014 15:48, Heikki Linnakangas <hlinnaka(at)iki(dot)fi> wrote:
> On 07/31/2014 05:19 PM, Simon Riggs wrote:
>>
>> On 31 July 2014 14:59, Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
>> wrote:
>>
>>> Move log_newpage and log_newpage_buffer to xlog.c.
>>
>>
>> Got a feeling this wasn't properly discussed because its unlikely
>> anybody would agree with adding more stuff to xlog.c
>
>
> Well, they certainly don't belong in heapam.c... Got a better suggestion?

I guess if we had xlog_fpi.c with RestoreBackupBlock et all, plus the
stuff you just moved it might make sense.

Just looking for ways to prune it down.

> (I bumped into this again while working on the WAL format & API changes,
> which understandably rewrites those functions again. It seemed better to do
> this refactoring separately than include it in the huge patch.)

Yeh, no problem with the refactoring itself, but I wanted to remind
you to discuss stuff.

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-07-31 15:07:16 Re: [COMMITTERS] pgsql: Move log_newpage and log_newpage_buffer to xlog.c.
Previous Message Heikki Linnakangas 2014-07-31 14:48:08 Re: [COMMITTERS] pgsql: Move log_newpage and log_newpage_buffer to xlog.c.

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-07-31 15:07:16 Re: [COMMITTERS] pgsql: Move log_newpage and log_newpage_buffer to xlog.c.
Previous Message Heikki Linnakangas 2014-07-31 14:48:08 Re: [COMMITTERS] pgsql: Move log_newpage and log_newpage_buffer to xlog.c.