Finding time in WAL logs

Поиск
Список
Период
Сортировка
От Pascal Robert
Тема Finding time in WAL logs
Дата
Msg-id 5B0132B1-646A-432C-8261-973E4BB42999@os.ca
обсуждение исходный текст
Ответы Re: Finding time in WAL logs  ("Simon Riggs" <simon@2ndquadrant.com>)
Re: Finding time in WAL logs  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-admin
Hi,

I'm writing our backup procedure for using WAL and PITR, but to be
able to do a (mostly) perfect PITR, I need to find the time when a
error (DELETE FROM, DROP TABLE, etc.) was made so that I can do a
restore just before the error.

Does PostgreSQL has something similar to "mysqlbinlog" so that I can
look at the content of a WAL archive ?  I tried enabling
"log_min_messages" at "info" level, but it doesn't log the date and
time of a executed statement, so that's not a solution.

pgsql 8.2.4 on RedHat Linux ES 4

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [HACKERS] Kill a Long Running Query
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: [GENERAL] Regarding WAL