Re: Printing query durations - Mailing list pgsql-jdbc

From Markus Schaber
Subject Re: Printing query durations
Date
Msg-id 442A6B66.3010008@logix-tt.com
Whole thread Raw
In response to Re: Printing query durations  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
Hi, Dave,

Dave Cramer wrote:

> 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.

That's not strictly true, there are more possible differences, AFAIR:

V2 vs. V3 protocol.

Plain statement vs. PREPARE and EXECUTE vs. DECLARE CURSOR / FETCH vs.
V3 protocol-level prepare and bind.

confusing,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org

pgsql-jdbc by date:

Previous
From: Kevin Dorne
Date:
Subject: Re: Printing query durations
Next
From: Tom Arthurs
Date:
Subject: Where does meta-data come from?