]> granicus.if.org Git - postgresql/commit
Prevent Perl from introducing a possibly-incompatible definition of type
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Nov 2007 17:47:40 +0000 (17:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Nov 2007 17:47:40 +0000 (17:47 +0000)
commit80848c001d69ecec6aca6cf2392c7e59b9b5fc38
treeef1a20be9efb176aeb625e22f3bf5d7c0b51d505
parent9275f2d34c6430e039d99a6b42545604096691ff
Prevent Perl from introducing a possibly-incompatible definition of type
"bool" into plperl.c.  This has always been a hazard since Perl allows a
platform-specific choice to define bool as int rather than char, but
evidently this didn't happen on any platform we support ... until OS X 10.5.
Per report from Brandon Maust.

Back-patch as far as 8.0 --- a bit arbitrary, but it seems unlikely anyone
will be trying to port 7.x onto new platforms.
src/pl/plperl/plperl.c
src/pl/plperl/spi_internal.h