Search Postgresql Archives

Getting prepared statement parameters in log when using JDBC with PG 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm hoping to see the parameters of prepared statements in the postgresql log when using a JDBC client against postgresql 8.1?

I saw a post  about using the V2 protocol.

Is there any downside to this?

Thanks,
Kevin

P.S. Looking at the driver documentation, I see that I can append the protocol specification to the jdbc connect string, e.g.:

jdbc:postgresql://host:port?protocolVersion=2

I'll give that a try.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux