Re: init_sequence spill to hash table - Mailing list pgsql-hackers

From Tom Lane
Subject Re: init_sequence spill to hash table
Date
Msg-id 1444.1384440438@sss.pgh.pa.us
Whole thread Raw
In response to Re: init_sequence spill to hash table  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: init_sequence spill to hash table  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2013-11-14 09:23:20 -0500, Tom Lane wrote:
>> We most certainly *do* discard entries, if they're not open when a cache
>> flush event comes along.

> What I was aiming at is that we don't discard them because of a limited
> cache size. I don't think it means much that we flush the entry when
> it's changed but not referenced.

Well, I don't want non-user-significant events (such as an sinval queue
overrun) causing sequence state to get discarded.  We would get bug
reports about lost sequence values.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Garick Hamlin
Date:
Subject: Re: additional json functionality
Next
From: Michael Meskes
Date:
Subject: Re: [PATCH] ecpg: Split off mmfatal() from mmerror()