]> 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:46 +0000 (17:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Nov 2007 17:47:46 +0000 (17:47 +0000)
commitdfd7208424e55a391ab9f2924d752055580d2ba0
tree9fbffc6e2e5135242d816b6d17fb616a5263edc3
parent4fc32d5891e1e0a6e28248cf29b8bb58e82282ee
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