From: Andrew Dunstan on


Tim Bunce wrote:
>>
>> It looks to me like this is probably a live bug not just compiler
>> hypersensitivity.
>>
>
> Yes. (ISTR there have been cases where the notnull attribute was
> misapplied to some perl functions, but that's not the case here.)
>
> I think I missed this because the Xcode compiler on Snow Leopard is
> fairly old (gcc 4.2.1).
>
> Patch attached.
>
>

Thanks. Applied.

cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

From: Tim Bunce on
On Thu, Jan 28, 2010 at 07:49:37PM +0000, Tim Bunce wrote:
>
> I think I missed this because the Xcode compiler on Snow Leopard is
> fairly old (gcc 4.2.1).

For the record, gcc 4.2.1 does report the error. I'd missed it because
I'd done most of my builds with perl 5.8.x and the notnull attributes was
added later, in 5.10.0.

Tim.

--
Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers