Re: Postgres Table level statement logging - Mailing list pgsql-general

From Vibhor Kumar
Subject Re: Postgres Table level statement logging
Date
Msg-id 15741007-7170-48BE-82DD-69BEB48F51AB@enterprisedb.com
Whole thread Raw
In response to Postgres Table level statement logging  (Madhu S R <s_r_madhu@yahoo.co.in>)
List pgsql-general
On Feb 7, 2012, at 5:42 AM, Madhu S R wrote:

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

Yes, this possible. You can set log_statement parameter.
http://www.postgresql.org/docs/current/static/runtime-config-logging.html#GUC-LOG-STATEMENT


Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Blog: http://vibhork.blogspot.com


pgsql-general by date:

Previous
From: bonave
Date:
Subject: Re: Save and load jpg in a PostgreSQL database
Next
From: Andreas Kretschmer
Date:
Subject: Re: Postgres Table level statement logging