Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YdjUM-00079N-Do for pgsql-jdbc@arkaria.postgresql.org; Thu, 02 Apr 2015 18:05:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YdjUL-0007e3-S0 for pgsql-jdbc@arkaria.postgresql.org; Thu, 02 Apr 2015 18:05:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YdjUL-0007dn-3d for pgsql-jdbc@postgresql.org; Thu, 02 Apr 2015 18:05:09 +0000 Received: from mail63.csoft.net ([96.47.74.135]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YdjUH-0005xV-N9 for pgsql-jdbc@postgresql.org; Thu, 02 Apr 2015 18:05:07 +0000 Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 59F8C1286315; Thu, 2 Apr 2015 14:05:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=Rbdx/PdWXdeF8IKg7+TUG0VvmVk=; b=B4xuvE VCyTNgQrherSLOXBom9G/bHNyzJimY76FoBWQK8kKRnStvG7Q97Qcf7M3GsbHO3j l3BEVHSiZRIQ69BjZgAnAboUshYy2Hg3ST90g8aK2WMAnoNCcs18p+yiX2clqn/1 FmmHGnYbVK7UNF8jpNk+AIdd6QnsPBjtlB6QY= Received: from leary.csoft.net (leary.csoft.net [96.47.74.130]) by mail63.csoft.net (Postfix) with ESMTP id 50634128630D; Thu, 2 Apr 2015 14:05:04 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 4435F13507; Thu, 2 Apr 2015 14:05:04 -0400 (EDT) Date: Thu, 2 Apr 2015 14:05:04 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: akshunj cc: pgsql-jdbc@postgresql.org Subject: Re: how to get JDBC driver version from command line In-Reply-To: <1427991994768-5844478.post@n5.nabble.com> Message-ID: References: <1427991994768-5844478.post@n5.nabble.com> User-Agent: Alpine 2.03 (BSO 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On Thu, 2 Apr 2015, akshunj wrote: > Hi, > > Is there a way to get the JDBC driver version from the command line? I'd > like to make the name generic for various administrative reasons. > java -cp postgresql.jar org.postgresql.util.PSQLDriverVersion Kris Jurka -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc