Re: RHEL8 Got error: iso-8859-1 type name ‘sigjmp_buf’ while compiling C simple code after including pg_type.h

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RHEL8 Got error: iso-8859-1 type name ‘sigjmp_buf’ while compiling C simple code after including pg_type.h
Дата
Msg-id 2229108.1679669456@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RHEL8 Got error: iso-8859-1 type name ‘sigjmp_buf’ while compiling C simple code after including pg_type.h  ("Bonu, Miriam, Sony Music Italy" <miriam.bonu.sme@sonymusic.com>)
Ответы R: RHEL8 Got error: unknown type name ‘sigjmp_buf’ while compiling C simple code after including pg_type.h  ("Bonu, Miriam, Sony Music Italy" <miriam.bonu.sme@sonymusic.com>)
Список pgsql-bugs
"Bonu, Miriam, Sony Music Italy" <miriam.bonu.sme@sonymusic.com> writes:
> I’m doing some practice with libpq libraries and I need your help to solve an issue that appeared after I tried to
add“pg_type.h” on my source code. 

Don't include pg_type.h.  For client-side code, you want pg_type_d.h
instead.  That won't contain references to server-internal symbols,
but it does contain the type OID macros that I assume you're after.

            regards, tom lane



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17867: pg_dump intermittently hangs
Следующее
От: "Bonu, Miriam, Sony Music Italy"
Дата:
Сообщение: R: RHEL8 Got error: unknown type name ‘sigjmp_buf’ while compiling C simple code after including pg_type.h