[BUGS] bool: symbol name collision

2010-05-08 Thread Bryan Henderson
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

[BUGS] reference to undefined macro _MSC_VER

2010-05-08 Thread Bryan Henderson
(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

[BUGS] BUG #5455: two PGTYPES_NUM_OVERFLOWs

2010-05-08 Thread KOIZUMI Satoru
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