Re: unlogged tables vs. GIST - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: unlogged tables vs. GIST
Date
Msg-id 5118F8EE.2050805@vmware.com
Whole thread Raw
In response to Re: unlogged tables vs. GIST  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
Responses Re: unlogged tables vs. GIST
List pgsql-hackers
On 11.02.2013 08:44, Jeevan Chalke wrote:
> Hi,
>
> Any review comments on this ?

Sorry for the delay.

I did some minor cleanup on this. I added code to pg_resetxlog and
pg_controldata to reset / display the current unlogged LSN value. I
moved the static counter, for temporary relations, back to gistutil.c,
so that the function in xlog.c only deals with unlogged relations. It's
debatable if that's better, but IMHO it is. Also, the unloggedLSN
counter is now reset to 1 at crash recovery. There's no fundamental
reason it needs to be reset, rather than just continue from the last
shutdowned value like nothing happened, but it seems cleaner that way.

I'm happy with this now, but please take one more look before I commit this.

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Fwd: Successful post to pgsql-hackers
Next
From: Boszormenyi Zoltan
Date:
Subject: Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]