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

From: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Get ride of pqbool artifact (src/interfaces/libpq/libpq-fe.h)
Date: 2025-09-02 19:51:50
Message-ID: CAOYmi+=AvK17did=MNj25UDZOaggwoA3r5EhTCGRcuYxZrShPw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 2, 2025 at 12:44 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ranier Vilela 2025-09-02 19:53:10 Re: Get ride of pqbool artifact (src/interfaces/libpq/libpq-fe.h)
Previous Message Tom Lane 2025-09-02 19:44:20 Re: Get ride of pqbool artifact (src/interfaces/libpq/libpq-fe.h)