From:
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc:
Peter Eisentraut <peter_e(at)gmx(dot)net>,PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>,Martin Pitt <mpitt(at)debian(dot)org>
Subject:
Re: libpq API incompatibility between 7.4 and 8.0
Date:
2005-02-05 01:05:15
Message-ID:
200502050105.j1515F613373@candle.pha.pa.us (view raw or flat )
Thread:
2005-02-02 11:22:50 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-02-02 16:07:54 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-02-02 16:53:59 from Martin Pitt <mpitt(at)debian(dot)org>
2005-02-02 17:01:50 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-02-02 17:52:03 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-02-02 18:04:18 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-02-02 18:27:49 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-02 18:39:08 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-02-02 18:50:30 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-02 19:32:11 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-02-02 22:00:07 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-02-02 23:46:11 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-03 03:25:50 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-03 06:59:19 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-02-03 14:42:18 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-03 15:58:28 from Martin Pitt <mpitt(at)debian(dot)org>
2005-02-03 16:12:16 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-02-03 16:24:25 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2005-02-03 16:43:21 from Martin Pitt <mpitt(at)debian(dot)org>
2005-02-04 03:48:56 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-04 03:33:58 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-07 19:05:11 from Martin Pitt <mpitt(at)debian(dot)org>
2005-02-04 11:26:16 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-02-04 14:33:11 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-04 15:27:05 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-02-04 16:51:54 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-04 18:35:23 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-02-04 18:48:47 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-02-04 21:33:39 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-04 21:41:51 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-02-05 01:05:15 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-05 16:43:46 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-02-05 23:51:52 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-07 19:55:58 from Martin Pitt <mpitt(at)debian(dot)org>
2005-02-09 23:05:39 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-10 09:41:32 from Martin Pitt <mpitt(at)debian(dot)org>
2005-02-10 17:15:22 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-06-07 01:23:21 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-06-07 04:42:38 from Alvaro Herrera <alvherre(at)surnet(dot)cl>
2005-06-07 07:16:06 from Martin Pitt <mpitt(at)debian(dot)org>
2005-06-07 18:34:10 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-06-15 03:15:43 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-06-15 18:32:32 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-06-15 18:45:18 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-06-15 19:22:06 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-06-15 19:26:52 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-06-16 06:41:54 from Martin Pitt <mpitt(at)debian(dot)org>
2005-06-25 02:24:31 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-06-25 09:29:19 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-06-25 14:27:31 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-06-25 15:04:16 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-06-25 15:42:56 from Martin Pitt <mpitt(at)debian(dot)org>
2005-06-25 20:30:38 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-03 03:43:42 from Greg Stark <gsstark(at)mit(dot)edu>
2005-02-02 23:53:08 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-02-03 03:16:10 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-02-02 20:42:28 from Martin Pitt <mpitt(at)debian(dot)org>
Lists:
pgsql-hackers pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> >> In short, fixing this the way Bruce wants to will be a nontrivial amount
> >> of effort.
>
> > psql actually calls get_progname(). Do we know that it will try to link
> > in the other functions from path.c? I am unsure.
>
> I don't know of any commonly used linkers that link at granularity finer
> than one source file, and in any case for shared libraries the library
> is all-or-nothing.
>
> Grep shows that 7.4 psql does reference is_absolute_path, and 7.4
> pg_dumpall does reference last_path_separator, so at least three of the
> four are at issue.
Ewe, yep, that is a mess.
OK, so how will we handle this? We will bump the major for 8.0.X.
Do we also hack libpq/Makefile to remove the 8.0.0 libpq? If not, then
RPM folks will need to relink, but source installs will not, but they
will have to remove the 8.0.0 libpq if they also want to run 7.4.
As you can see it is the confusion that bothers me. I am not sure how I
would write a coherent paragraph explaining this.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
In response to
Responses
pgsql-hackers by date
Next :From: Bruce MomjianDate: 2005-02-05 01:28:15
Subject : Re: Patch Count?
Previous :From : Tom LaneDate : 2005-02-05 00:03:46
Subject : Re: Query optimizer 8.0.1 (and 8.0)
pgsql-patches by date
Next :From: Mahmoud TaghizadehDate: 2005-02-05 08:11:25
Subject : using strxfrm for having multi locale/please vote for adding this function in contribution
Previous :From : Tom LaneDate : 2005-02-04 21:41:51
Subject : Re: libpq API incompatibility between 7.4 and 8.0