Re: BUG #5915: OldSerXidAdd inflates pg_serial too much

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Heikki Linnakangas" <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: "YAMAMOTO Takashi" <yamt(at)mwd(dot)biglobe(dot)ne(dot)jp>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #5915: OldSerXidAdd inflates pg_serial too much
Date: 2011-03-04 20:48:55
Message-ID: 4D70FBD7020000250003B4C6@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:

> Sorry, I was not entirely clear. It clears all pages from the
> start of the segment, up to the last currently active page, even
> if the active region from tailXid to headXid only spans a couple
> of pages somewhere in the middle of the segment. It seems
> pointless to clear the pages in the beginning of the segment in
> that case.

Oh, I see now. Somehow I thought I needed to clear pages from the
start of the segment to the active portion. If that's not needed,
it's easy enough to adjust the calculations there to start with the
first active page. Do you want me to do that?

-Kevin

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2011-03-04 21:16:51 Re: BUG #5915: OldSerXidAdd inflates pg_serial too much
Previous Message Robert Haas 2011-03-04 20:42:49 Re: BUG #5869: postgresql corrupts unquoted non-ascii chars in column aliases