Re: [PATCHES] WAL logging freezing - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [PATCHES] WAL logging freezing
Date
Msg-id 45422974.6010109@enterprisedb.com
Whole thread Raw
In response to Re: [PATCHES] WAL logging freezing  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] WAL logging freezing
List pgsql-hackers
Tom Lane wrote:
> Heikki Linnakangas <heikki@enterprisedb.com> writes:
>> I would've liked to give freezing a new opcode,
>>   but we've ran out of them (see htup.h).
>
> Hardly ... we have plenty of unused rmgr id's still.

Good point.

> The real issue that still has to be resolved is the interaction of all
> this stuff with PITR scenarios --- is it still safe to not log hint-bit
> updates when PITR is on?  I think it's premature to start writing
> patches until we've decided how this really needs to work.

Not logging hint-bit updates seems safe to me. As long as we have the
clog, the hint-bit is just a hint. The problem with freezing is that
after freezing tuples, the corresponding clog page can go away.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: bug in on_error_rollback !?
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] WAL logging freezing