On Mon, Mar 24, 2008 at 03:05:31PM -0300, Alvaro Herrera wrote:
> Kurt Roeckx wrote:
> 
> > No, this has nothing to do with CFLAGS.  It's calling a function which
> > returns something other than it actually returns.
> 
> Yeah but apparently gcc 4.3 is working in 8.3 and later.  What happens
> to your sample program if you compile it with the CFLAGS used in 8.3
> versus those used in 8.2?  pg_config --configure will show these.

8.2 and 8.3 actually get the same value in fmgr_oldstyle(), it just
seems they do something else with it somewhere else.  Both are wrong,
it's just that we don't see it in 8.3.

I think it should return a Datum, and use PG_RETURN_BOOL.


Kurt


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

Reply via email to