pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bonu, Miriam, Sony Music Italy <miriam.bonu.sme@sonymusic.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Cc: Marsan, Francesco, Sony Music Italy <Francesco.Marsan@sonymusic.com>
Cc: Massimiliano Calcaterra <patesigeo@gmail.com>
Cc: CAMPAGNOLO Mauro <mauro.campagnolo@soprasteria.com>
Subject: Re: RHEL8 Got error: unknown type name ‘sigjmp_buf’ while compiling C simple code after including pg_type.h
Date: Fri, 24 Mar 2023 10:50:56 -0400
Message-ID: <2229108.1679669456@sss.pgh.pa.us> (raw)
In-Reply-To: <VI1PR0202MB289684F0AEB3C2FCD9BB1199A1849@VI1PR0202MB2896.eurprd02.prod.outlook.com>
References: <VI1PR0202MB289684F0AEB3C2FCD9BB1199A1849@VI1PR0202MB2896.eurprd02.prod.outlook.com>

"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





Message-ID: <2229108.1679669456@sss.pgh.pa.us>
Permalink:  ../2229108.1679669456@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2229108.1679669456@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, miriam.bonu.sme@sonymusic.com, pgsql-bugs@lists.postgresql.org, Francesco.Marsan@sonymusic.com, patesigeo@gmail.com, mauro.campagnolo@soprasteria.com
  Subject: Re: RHEL8 Got error: unknown type name ‘sigjmp_buf’ while compiling C simple code after including pg_type.h
  In-Reply-To: <2229108.1679669456@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox