The following bug has been logged online:
Bug reference: 5455
Logged by: KOIZUMI Satoru
Email address: koizumi...@minos.ocn.ne.jp
PostgreSQL version: 9.0beta1
Operating system: MacOS X
Description:two PGTYPES_NUM_OVERFLOWs
Details:
There are two PGTYPES_NUM_OVERFLOW
(a file that gets included in a user's server extension
compilation) contains the line
# if _MSC_VER > 1400
In the compiler is not Microsoft C at all, _MSC_VER is undefined, and in some
environments, the reference to it is an error (e.g. Gcc with -Wundef -Werror).
So that this header file can
The interface header files for Postgres server extensions define "bool",
but that name is commonly used by other parts of user code, including
by standards (C99, C++). That causes, at best, compile failures.
If Postgres has to define a boolean type in public header files, it should
use a name tha