Re: Postgres Table level statement logging

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres Table level statement logging
Date: 2012-02-07 17:21:30
Message-ID: 20120207172130.GA8853@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Madhu S R <s_r_madhu(at)yahoo(dot)co(dot)in> wrote:

> Hi,
>
> I need to log the statements executed for a list of tables. It will be Data
> Modification statements like INSERT/UPDATE/DELETE on any of these tables.
> Please let me know if this is possible in postgres logging.

http://andreas.scherbaum.la/blog/archives/100-Log-Table-Changes-in-PostgreSQL-with-tablelog.html

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-02-07 19:56:07 Re: [GENERAL] pg_dump -s dumps data?!
Previous Message Vibhor Kumar 2012-02-07 17:15:18 Re: Postgres Table level statement logging