logging sql from JDBC - Mailing list pgsql-hackers

From David Parker
Subject logging sql from JDBC
Date
Msg-id 07FDEE0ED7455A48AC42AC2070EDFF7C7466C6@corpsrv2.tazznetworks.com
Whole thread Raw
Responses Re: logging sql from JDBC
List pgsql-hackers
It appears that SQL submited via the latest JDBC driver won't get logged even if log_min_duration_statement is set appropriately. From what I've found in the archives, this is because the driver uses an "extended" version of the protocol.
 
Could somebody point me at the area of the source where this decision gets made, and/or how difficult it would be to enable this logging?
 
Thanks!

- DAP
----------------------------------------------------------------------------------
David Parker    Tazz Networks    (401) 709-5130
 

 

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: WAL replay failure after file truncation(?)
Next
From: Vikram Kalsi
Date:
Subject: Source Code Help Needed