Re: WAL format changes

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: WAL format changes
Дата
Msg-id 4FE8FDBE.8060901@enterprisedb.com
обсуждение исходный текст
Ответ на Re: WAL format changes  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: WAL format changes  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: WAL format changes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 25.06.2012 21:01, Robert Haas wrote:
> On Mon, Jun 25, 2012 at 1:57 PM, Fujii Masao<masao.fujii@gmail.com>  wrote:
>>> "<<" should be">>". The attached patch fixes this typo.
>>
>> Oh, I forgot to attach the patch.. Here is the patch.
>
> I committed both of the patches you posted to this thread.

Thanks Robert. I was thinking that "pg_resetxlog -l" would accept a WAL 
file name, instead of comma-separated tli, xlogid, segno arguments. The 
latter is a bit meaningless now that we don't use the xlogid+segno 
combination anywhere else. Alvaro pointed out that pg_upgrade was broken 
by the change in pg_resetxlog -n output - I changed that too to print 
the "First log segment after reset" information as a WAL file name, 
instead of logid+segno. Another option would be to print the 64-bit 
segment number, but I think that's worse, because the 64-bit     segment 
number is harder to associate with a physical WAL file.

So I think we should change pg_resetxlog -l option to take a WAL file 
name as argument, and fix pg_upgrade accordingly.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: pg_stat_lwlocks view - lwlocks statistics
Следующее
От: Steve Singer
Дата:
Сообщение: Re: [PATCH 08/16] Introduce the ApplyCache module which can reassemble transactions from a stream of interspersed changes