Re: libpq API incompatibility between 7.4 and 8.0

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Martin Pitt <mpitt(at)debian(dot)org>
Subject: Re: libpq API incompatibility between 7.4 and 8.0
Date: 2005-02-03 03:25:50
Message-ID: 200502030325.j133Po512253@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian wrote:
> Peter Eisentraut wrote:
> > 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.*.
>
> I am thinking we should up the 8.0.* and 8.1.* releases to have the same
> major number, but not make a major libpq bump for every major release
> unless it is required, like with prog_name. Is that the plan?
>
> I guess the big question is whether we would ever want a 7.2 psql or any
> other client to automatically use a 7.3 libpq. In fact by upping the
> major every time will 7.2 clients automatically use the 7.3 libpq or
> will they have to be relinked?

Uh, if we bump up the major library version in 8.0.X, will that require
8.0.0 user applications to be recompiled? That seems worse than having
7.4.X pg apps like psql fail. They fail because they are calling
get_progname, but most user apps will not be calling that function.

Also, if we bump the major version, will an install of 8.0.X fix
problems with get_progname? Won't the 8.0.0 libpq with a higher minor
version number still prevent old psql's from running? Our install
doesn't uninstall old libraries, does it? RPM's might but I am not sure
how they do minor upgrades.

--
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

Browse pgsql-hackers by date

  From Date Subject
Next Message John Hansen 2005-02-03 03:34:49 Re: unicode upper/lower functions
Previous Message Bruce Momjian 2005-02-03 03:16:10 Re: libpq API incompatibility between 7.4 and 8.0

Browse pgsql-patches by date

  From Date Subject
Next Message Greg Stark 2005-02-03 03:43:42 Re: libpq API incompatibility between 7.4 and 8.0
Previous Message Bruce Momjian 2005-02-03 03:16:10 Re: libpq API incompatibility between 7.4 and 8.0