Skip site navigation (1) Skip section navigation (2)

Re: libpq API incompatibility between 7.4 and 8.0

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Martin Pitt <mpitt(at)debian(dot)org>, pgsql-hackers(at)postgresql(dot)org,Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: libpq API incompatibility between 7.4 and 8.0
Date: 2005-02-02 22:00:07
Message-ID: 200502022300.07908.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Tom Lane wrote:
> Well, if you just want to bump libpq's SO_MAJOR_VERSION, I won't
> object.

Yes.  Unless someone objects, I will do that for 8.0.* and 8.1.*.

> The Linux conventions for library names, for one,
> essentially require us to bump SO_MAJOR_VERSION for every release if
> we want to have any hope of letting different versions coexist. 
> Perhaps our convention should be to bump SO_MAJOR_VERSION for each of
> our major releases and only use SO_MINOR_VERSION when we change a
> library in a dot-release.

Well, the goal for coexistence is mainly the server and the 
server-dependent tools (pg_dump, psql, etc.).  There is no per-se 
requirement to have libpq versions to coexist.  If libpq has different 
sonames in different releases, then they would end up in differently 
named packages anyway (at least in Debian).  If they don't have 
different sonames, then we declare that they are compatible, so it 
should be OK to have only the latest version installed.  That requires 
us to stay honest with the sonames, but it does not require us to 
increase the sonames unnecessarily.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2005-02-02 22:04:04
Subject: Re: pg_dump bug in 7.3.9 with sequences
Previous:From: Joshua D. DrakeDate: 2005-02-02 21:54:48
Subject: Re: pg_dump bug in 7.3.9 with sequences

pgsql-patches by date

Next:From: Bruce MomjianDate: 2005-02-02 23:46:11
Subject: Re: libpq API incompatibility between 7.4 and 8.0
Previous:From: Martin PittDate: 2005-02-02 20:42:28
Subject: Re: libpq API incompatibility between 7.4 and 8.0

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group