Re: How to know a table has been modified? - Mailing list pgsql-hackers

From Shigeru Hanada
Subject Re: How to know a table has been modified?
Date
Msg-id 4F4C85C8.5000303@gmail.com
Whole thread Raw
In response to Re: How to know a table has been modified?  (Tatsuo Ishii <ishii@postgresql.org>)
List 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 by date:

Previous
From: Fujii Masao
Date:
Subject: Re: xlog location arithmetic
Next
From: Shigeru Hanada
Date:
Subject: Re: pgsql_fdw, FDW for PostgreSQL server