pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: Kevin Dorne <kevin@catalyst.net.nz>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Printing query durations
Date: Tue, 28 Mar 2006 13:44:57 +0200
Message-ID: <442921B9.30303@logix-tt.com> (raw)
In-Reply-To: <4428BCB0.2040002@catalyst.net.nz>
References: <442890D9.40905@catalyst.net.nz>
	<C2617EFB-3E07-431A-988A-CEBF85C41544@fastcrypt.com>
	<26453.1143515949@sss.pgh.pa.us>
	<4428BCB0.2040002@catalyst.net.nz>

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



view thread (17+ messages)  latest in thread

Message-ID: <442921B9.30303@logix-tt.com>
Permalink:  ../442921B9.30303@logix-tt.com/
Also on:    postgresql.org/message-id/442921B9.30303@logix-tt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: schabi@logix-tt.com, kevin@catalyst.net.nz
  Subject: Re: Printing query durations
  In-Reply-To: <442921B9.30303@logix-tt.com>
  References: <442890D9.40905@catalyst.net.nz> <C2617EFB-3E07-431A-988A-CEBF85C41544@fastcrypt.com> <26453.1143515949@sss.pgh.pa.us> <4428BCB0.2040002@catalyst.net.nz> <442921B9.30303@logix-tt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox