Dave Cramer wrote:
> Kevin,
>
> Well, the server doesn't really know the difference between a query
> from jdbc vs a query from psql. The only difference is how they
> connect. psql usually connects to a unix domain socket, whereas jdbc
> connects via a tcpip socket. Even this behaviour can be changed in psql
> by specifying -h <hostname>
Well, there is actually quite a big difference.
psql uses the simple query protocol. JDBC uses the extended query protocol.
See previous discussion on -hackers about the difficulties in logging
the extended query protocol usefully..
-O