From: | Martin Pitt <mpitt(at)debian(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net> |
Subject: | Re: libpq API incompatibility between 7.4 and 8.0 |
Date: | 2005-02-02 20:42:28 |
Message-ID: | 20050202204228.GA1550@box79162.elkhouse.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Hi Tom!
Tom Lane [2005-02-02 12:01 -0500]:
> Martin Pitt <mpitt(at)debian(dot)org> writes:
> > What would you propose as a solution?
>
> Do nothing.
That's unfortunately not an option.
> The problem you are raising isn't very serious since
> RPM-style installations don't support concurrent installation of
> multiple PG versions anyway. That being the case, it doesn't really
> matter whether 8.0 psql can use a 7.4 library or vice versa.
That's exactly the point I want to change for Debian, I work on a
structure which permits to run several clusters of different versions
in parallel (see [1]). We now have a /usr/lib/libpq.so.3 for 7.4, and
we can't have a _second_ incompatible /usr/lib/libpq.so.3 for 8.0.
Sorry, but that's just the way how shared libraries work. SONAMEs are
for API compatibility and it becomes _very_ hard to workaround broken
ones.
> To do otherwise would essentially amount to deciding that get_progname
> is part of the exported API of libpq forevermore.
That's not true. It must stay part of the exported API for SONAME 3 of
libpq, not for anything else.
> That's not something I'm willing to buy into. It was a mistake that
> it was done that way in 7.4, and I want to rectify that mistake
> before it gets any more entrenched.
Then please release 8.0.2 with a SONAME 4. Would you consider this?
Thanks a lot and have a nice day!
Martin
[1] http://people.debian.org/~mpitt/postgresql-ng.html
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntulinux.org
Debian GNU/Linux Developer http://www.debian.org
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Jowett | 2005-02-02 20:45:02 | Re: [NOVICE] Last ID Problem |
Previous Message | Merlin Moncure | 2005-02-02 20:19:27 | Re: [NOVICE] Last ID Problem |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2005-02-02 22:00:07 | Re: libpq API incompatibility between 7.4 and 8.0 |
Previous Message | Heikki Linnakangas | 2005-02-02 19:41:15 | Refactoring lock.c |