log_statement per table

From: David Janssens <david(dot)j(at)almacom(dot)co(dot)th>
To: pgsql-general(at)postgresql(dot)org
Subject: log_statement per table
Date: 2014-03-04 10:19:46
Message-ID: 5315A8C2.8030904@almacom.co.th
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
I would like to log statements that modify a small subset of tables in a
databases.
(not all tables, because the log files become too big in that case and I
also worry about performance)
I currently use log_statement='mod' but I didn't find a way to limit
this to the set of tables I want.
What is the best way to do this?

--
David Janssens

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ajay 2014-03-04 11:03:31 Segmentation fault
Previous Message Victor Yegorov 2014-03-04 09:31:12 Re: Join Bad Performance on different data types