pgsql: Prevent Perl from introducing a possibly-incompatible definition

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent Perl from introducing a possibly-incompatible definition
Date: 2007-11-22 17:47:40
Message-ID: 20071122174740.759FA7540F0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/src/pl/plperl:
plperl.c (r1.94.2.6 -> r1.94.2.7)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c?r1=1.94.2.6&r2=1.94.2.7)
spi_internal.h (r1.7 -> r1.7.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/spi_internal.h?r1=1.7&r2=1.7.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-11-22 17:47:46 pgsql: Prevent Perl from introducing a possibly-incompatible definition
Previous Message Tom Lane 2007-11-22 17:47:32 pgsql: Prevent Perl from introducing a possibly-incompatible definition