logging sql from JDBC

From: "David Parker" <dparker(at)tazznetworks(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: logging sql from JDBC
Date: 2005-05-25 16:03:36
Message-ID: 07FDEE0ED7455A48AC42AC2070EDFF7C7466C6@corpsrv2.tazznetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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


Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vikram Kalsi 2005-05-25 18:50:38 Source Code Help Needed
Previous Message Bruce Momjian 2005-05-25 15:23:14 Re: WAL replay failure after file truncation(?)