Re: libpq API incompatibility between 7.4 and 8.0 - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: libpq API incompatibility between 7.4 and 8.0
Date
Msg-id 200502030325.j133Po512253@candle.pha.pa.us
Whole thread Raw
In response to Re: libpq API incompatibility between 7.4 and 8.0  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: libpq API incompatibility between 7.4 and 8.0
List pgsql-hackers
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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: libpq API incompatibility between 7.4 and 8.0
Next
From: Greg Stark
Date:
Subject: Re: libpq API incompatibility between 7.4 and 8.0