Re: How to know a table has been modified?

Поиск
Список
Период
Сортировка
От Shigeru Hanada
Тема Re: How to know a table has been modified?
Дата
Msg-id 4F4C85C8.5000303@gmail.com
обсуждение исходный текст
Ответ на Re: How to know a table has been modified?  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
2012/2/28 Tatsuo Ishii <ishii@postgresql.org>:
> Are you suggesting log_statement? I don't think it's a solution by
> following reasons:
>
> 1) it's slow to enable that on busy systems
> 2) tables affected by cascading delete/update/drop is not logged in
>   PostgreSQL log

What about reading archived WAL files?  They would contain every
delete/update/drop including cascading ones, though it might be too late
because WAL files are not available until archived.

xlogdump would help reading WAL files.
   https://github.com/snaga/xlogdump

-- 
Shigeru Hanada



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: xlog location arithmetic
Следующее
От: Shigeru Hanada
Дата:
Сообщение: Re: pgsql_fdw, FDW for PostgreSQL server