Re: WAL logging problem in 9.4.3? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: WAL logging problem in 9.4.3?
Date
Msg-id 55B1DAC1.3030804@iki.fi
Whole thread Raw
In response to Re: WAL logging problem in 9.4.3?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 07/23/2015 09:38 PM, Robert Haas wrote:
> On Wed, Jul 22, 2015 at 12:21 PM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>>
>> This is more invasive than I'd like to backpatch, but I think it's the
>> simplest approach that works, and doesn't disable any of the important
>> optimizations we have.
>
> Hmm, isn't HeapNeedsWAL() a lot more costly than RelationNeedsWAL()?

Yes. But it's still very cheap, especially in the common case that the 
pending syncs hash table is empty.

> Should we be worried about that?

It doesn't worry me.

- Heikki




pgsql-hackers by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Asynchronous execution on FDW
Next
From: Marc Mamin
Date:
Subject: pg_dump -Fd and compression level