X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8A6073A5842 for ; Tue, 25 Jan 2005 16:40:24 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 84686-01 for ; Tue, 25 Jan 2005 16:40:21 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 735013A581E for ; Tue, 25 Jan 2005 16:40:20 +0000 (GMT) Received: (qmail 31283 invoked from network); 25 Jan 2005 16:39:41 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 25 Jan 2005 16:39:41 -0000 Message-ID: <41F6766D.40309@fastcrypt.com> Date: Tue, 25 Jan 2005 11:40:13 -0500 From: Dave Cramer Reply-To: pg@fastcrypt.com Organization: Postgres International User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: Kris Jurka , pgsql-jdbc@postgresql.org Subject: Re: Versioned vs unversioned jarfile names? References: <22675.1106588112@sss.pgh.pa.us> <3490.1106667153@sss.pgh.pa.us> In-Reply-To: <3490.1106667153@sss.pgh.pa.us> Content-Type: multipart/alternative; boundary="------------020308080606090702050901" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.094 tagged_above=0 required=5 tests=AWL, HTML_40_50, HTML_MESSAGE, HTML_TITLE_EMPTY X-Spam-Level: X-Archive-Number: 200501/244 X-Sequence-Number: 12124 This is a multi-part message in MIME format. --------------020308080606090702050901 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Tom Lane wrote: >Kris Jurka 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. > > Agreed, I think we can drop the version number out of the linked file name >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 > > > We've dropped support for jdk 1 and subsequently jdbc1 >>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. > > I don't think this works with java, there is more information in the class file besides the signature of the class. The jar needs to be compiled by the same version of java that it will run under. > regards, tom lane > >---------------------------(end of broadcast)--------------------------- >TIP 4: Don't 'kill -9' the postmaster > > > > -- Dave Cramer http://www.postgresintl.com 519 939 0336 ICQ#14675561 --------------020308080606090702050901 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

Tom Lane wrote:
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.
  
Agreed, I think we can drop the version number out of the linked file name
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

  
We've dropped support for jdk 1 and subsequently jdbc1

  
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.
  
I don't think this works with java, there is more information in the class file besides the signature of the class. The jar needs to be compiled by the same version of java that it will run under.
			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


  

-- 
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561
--------------020308080606090702050901--