Re: [pgsql-packagers] Getting to 8.3 beta1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [pgsql-packagers] Getting to 8.3 beta1
Date
Msg-id 3186.1190996513@sss.pgh.pa.us
Whole thread Raw
In response to Re: [pgsql-packagers] Getting to 8.3 beta1  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> Zdenek Kotala wrote:
>> struct Port has been modified and by my opinion it means we must bump
>> major version. See
>> http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/libpq/libpq-be.h.diff?r1=1.62;r2=1.63

> That header file is *not* part of the libpq interface, see the comment
> at the beginning of the file. So no major version bump required.

Right, and even pqcomm.h (to which the comment refers) is material that
is known to libpq (and other implementors of the FE/BE protocol), but is
not exposed to client applications.

This comment in pqcomm.c might be helpful:
* At one time, libpq was shared between frontend and backend, but now* the backend's "backend/libpq" is quite separate
from"interfaces/libpq".* All that remains is similarities of names to trap the unwary...
 


The only material that is officially part of the libpq client API is
libpq-fe.h (and postgres_ext.h which it includes).  Anyone including
other headers does so at their own risk.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Enforcing database encoding and locale match
Next
From: Zdenek Kotala
Date:
Subject: Re: [pgsql-packagers] Getting to 8.3 beta1