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

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: Get ride of pqbool artifact (src/interfaces/libpq/libpq-fe.h)
Дата
Msg-id CAOYmi+=AvK17did=MNj25UDZOaggwoA3r5EhTCGRcuYxZrShPw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Get ride of pqbool artifact (src/interfaces/libpq/libpq-fe.h)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления: