Re: Get ride of pqbool artifact (src/interfaces/libpq/libpq-fe.h) - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: Get ride of pqbool artifact (src/interfaces/libpq/libpq-fe.h)
Date
Msg-id CAOYmi+=AvK17did=MNj25UDZOaggwoA3r5EhTCGRcuYxZrShPw@mail.gmail.com
Whole thread Raw
In response to Re: Get ride of pqbool artifact (src/interfaces/libpq/libpq-fe.h)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Sep 2, 2025 at 12:44 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> We might be able to s/pqbool/bool/ in the struct, but I kind of
> wonder if that wouldn't be an ABI break: at the very least it
> would lead to subtle changes in code compiled to use the struct.

I have FUD around C++ compilers in particular when it comes to ABI
assumptions for bool.

> On the whole I see little value in taking any risk here.

+1

--Jacob



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Get ride of pqbool artifact (src/interfaces/libpq/libpq-fe.h)
Next
From: Ranier Vilela
Date:
Subject: Re: Get ride of pqbool artifact (src/interfaces/libpq/libpq-fe.h)