Re: unlogged tables vs. GIST

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: unlogged tables vs. GIST
Дата
Msg-id 5118F8EE.2050805@vmware.com
обсуждение исходный текст
Ответ на Re: unlogged tables vs. GIST  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
Ответы Re: unlogged tables vs. GIST  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Fwd: Successful post to pgsql-hackers
Следующее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]