Re: pgsql: Build src/port files as a library with -fPIC, and use that in li - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgsql: Build src/port files as a library with -fPIC, and use that in li
Date
Msg-id 12792.1548965044@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Build src/port files as a library with -fPIC, and use thatin li  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pgsql: Build src/port files as a library with -fPIC, and usethat in li
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Jan 31, 2019 at 2:50 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> We're breaking compatibility only if you regard pqsignal() as
>> part of the advertised API, which I don't.

> Well, I would agree with that if it weren't the case that binaries we
> ship apparently use that API.  If we say that the libraries are
> API-compatible, but our own binaries don't work, our veracity is
> questionable.

initdb hasn't depended on those libpq exports since 8.2, and it was
a bug that it did so even then.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: Build src/port files as a library with -fPIC, and use thatin li
Next
From: Robert Haas
Date:
Subject: Re: Proposed refactoring of planner header files