Re: [GENERAL] how to capture query?

2005-02-11 Thread Brad Nicholson
To log all queries - in your postgresql.conf file, set the following: log_statement = true Mark wrote: Hi, I'm getting some errors in log file saying "invalid character at position #20..." I know that this is most likely that query is wrong. Is it possible to capture all queries that get send or at

Re: [GENERAL] how to capture query?

2005-02-11 Thread Yury Don
M> Hi, M> I'm getting some errors in log file saying "invalid character at M> position M> #20..." I know that this is most likely that query is wrong. M> Is it possible to capture all queries that get send or at least the M> invalid queries? M> I'm using postgresql 7.4.3 on Red Hat 9 M> Thanks,

[GENERAL] how to capture query?

2005-02-11 Thread Mark
Hi, I'm getting some errors in log file saying "invalid character at position #20..." I know that this is most likely that query is wrong. Is it possible to capture all queries that get send or at least the invalid queries? I'm using postgresql 7.4.3 on Red Hat 9 Thanks, Mark