Re: plperl failure on OS X 10.5(.1)

From: Brandon Maust <bmaust(at)u(dot)washington(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Subject: Re: plperl failure on OS X 10.5(.1)
Date: 2007-11-21 21:41:46
Message-ID: 35D3317B-6738-47C6-92D8-E6A6B2AD0202@u.washington.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21 Nov, 2007, at 11:38 , Tom Lane wrote:

> Brandon Maust <bmaust(at)u(dot)washington(dot)edu> writes:
>> yes, it is sucking it in (via handy.h), at least in 10.5:
>
>> #if 1 /* always on Mac OS X */
>> # include <stdbool.h>
>> # ifndef HAS_BOOL
>> # define HAS_BOOL 1
>> # endif
>> #endif
>
> Nasty. I'm still surprised that there's no redefinition warning for
> "false" and "true", but that's not too important, since the cast to
> (bool) isn't really critical. I guess what we need is as attached;
> would you try it and see?

yep, fixes it for me with 8.2.5 and 8.3b3.

everything works even allowing that -arch warning, but it's not the
clean compiling experience I'm used to from postgresql...

Thanks, Tom.

--
Brandon

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-11-21 22:36:26 Re: [HACKERS] wrong behavior using to_char() again
Previous Message Simon Riggs 2007-11-21 21:09:39 Re: 8.3devel slower than 8.2 under read-only load