Re: Printing query durations

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: Kevin Dorne <kevin(at)catalyst(dot)net(dot)nz>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Printing query durations
Date: 2006-03-28 11:44:57
Message-ID: 442921B9.30303@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi, Kevin,

Kevin Dorne wrote:

> Well, to clarify, we're using PostgreSQL 7.4.7. I'm not actually sure
> what JDBC version we're using, as I've just encountered a
> (usefully-named) postgresql.jar file, but I'm fairly certain it's an
> 8.1.x. Is there an easy way to tell?

public class PGversion {
public static void main(String[] args) {
System.err.println( org.postgresql.Driver.getVersion());
}
}

HTH,
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 Dave Cramer 2006-03-28 12:12:44 Re: Printing query durations
Previous Message Simon Riggs 2006-03-28 10:32:36 Re: Printing query durations