[GENERAL] use log_statement to log only SELECTs?

2009-11-20 Thread Brian Witt
Hi, I've been looking for a way to use log_statement to log only select statements; is this possible? (I'm using PostgreSQL 8.1.18) I'd like to know if someone tried to read the data back from the database, but don't care to see the inserts or updates since these may have sensitive data like cre

Re: [GENERAL] use log_statement to log only SELECTs?

2009-12-02 Thread Brian Witt
On Sun, 2009-11-29 at 06:00 -0500, Bruce Momjian wrote: > Brian Witt wrote: > > I've been looking for a way to use log_statement to log only select > > statements; is this possible? (I'm using PostgreSQL 8.1.18) > No, log_statement doesn't allow do that, and

[GENERAL] use log_statement to log only SELECTs?

2009-01-30 Thread Brian Witt
Hi, I've been looking for a way to use log_statement to log only select statements; is this possible? (I'm using PostgreSQL 8.1.11) I'd like to know if someone tried to read the data back from the database, but don't care to see the inserts or updates since these may have sensitive data like cre