Re: define bool in pgtypeslib_extern.h

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Amit Kapila <amit.kapila16@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-10-25T16:52:20Z
Lists: pgsql-hackers
I wrote:
> I checked that that works and fixes the immediate problem, so I pushed
> it.  However, we're not out of the woods, because lookee here in
> ecpglib.h:
> ...

Oh, and for extra fun, take a look in src/backend/utils/probes.d :-(

			regards, tom lane



Commits

  1. Fix ecpglib.h to declare bool consistently with c.h.

  2. Move declaration of ecpg_gettext() to a saner place.

  3. Sync our DTrace infrastructure with c.h's definition of type bool.

  4. Get rid of useless/dangerous redefinition of bool in ECPG.