pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Versioned vs unversioned jarfile names?
Date: Tue, 25 Jan 2005 10:32:33 -0500
Message-ID: <3490.1106667153@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSO.4.56.0501250343460.17909@leary.csoft.net>
References: <22675.1106588112@sss.pgh.pa.us>
	<Pine.BSO.4.56.0501250343460.17909@leary.csoft.net>

Kris Jurka <books@ejurka.com> writes:
> Do the jar files now get installed as postgresql-80-jdbc3 or
> postgresql-80-309-jdbc3?

Currently they are installed under the same names they have on the FTP
server, viz

postgresql-8.0.309.jdbc2.jar
postgresql-8.0.309.jdbc2ee.jar
postgresql-8.0.309.jdbc3.jar

This is good for identifying the upstream source, but it does seem like
an awfully specific name to put into an application's classpath.

Another issue is that the prior release still had a jdbc1 jar:

pg74.215.jdbc1.jar
pg74.215.jdbc2.jar
pg74.215.jdbc2ee.jar
pg74.215.jdbc3.jar

> What about multiple versions installed at the same time?  Is that allowed?  

Yeah.  We already have these same concepts in place for shared
libraries, where it's customary to provide (eg)

/usr/lib/libpq.so.3.2*
/usr/lib/libpq.so.3@ -> libpq.so.3.2
/usr/lib/libpq.so@ -> libpq.so.3.2

Basically I'm wondering whether there's an equivalent concept to
libraries' major version number.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <3490.1106667153@sss.pgh.pa.us>
Permalink:  ../3490.1106667153@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3490.1106667153@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, books@ejurka.com
  Subject: Re: Versioned vs unversioned jarfile names?
  In-Reply-To: <3490.1106667153@sss.pgh.pa.us>
  References: <22675.1106588112@sss.pgh.pa.us> <Pine.BSO.4.56.0501250343460.17909@leary.csoft.net> <3490.1106667153@sss.pgh.pa.us>

* 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