Re: question about wal and point in time recovery

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: question about wal and point in time recovery
Дата
Msg-id 7043.1113402369@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: question about wal and point in time recovery  ("Mohan, Ross" <RMohan@arbinet.com>)
Список pgsql-admin
"Mohan, Ross" <RMohan@arbinet.com> writes:
> In any case, do you have a pointer to this R&R WAL tool?

I haven't posted it anywhere, but here is the 8.0 version.  You'd build
it something like this:

PGSQL=(location of PG source tree)
CC=gcc
CFLAGS=-Wall -O -I $(PGSQL)/src/include

xlogdump: xlogdump.c
    $(CC) $(CFLAGS) -o xlogdump xlogdump.c $(PGSQL)/src/backend/utils/hash/pg_crc.c

It needs improvement to understand more WAL record types, but what it
does has been sufficient for my debugging needs to date.  Ideally
someone would clean it up and make it into a contrib module so it could
get into the source tree and be maintained properly ...

            regards, tom lane


Вложения

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

Предыдущее
От: "Mohan, Ross"
Дата:
Сообщение: Re: question about wal and point in time recovery
Следующее
От: "Mohan, Ross"
Дата:
Сообщение: Re: question about wal and point in time recovery