Re: Printing query durations

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Printing query durations
Date: 2006-03-29 11:11:34
Message-ID: 442A6B66.3010008@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Arthurs 2006-03-29 22:13:48 Where does meta-data come from?
Previous Message Kevin Dorne 2006-03-29 02:43:14 Re: Printing query durations