Re: LOAD not updating object in session - Mailing list pgsql-bugs

From Tom Lane
Subject Re: LOAD not updating object in session
Date
Msg-id 5630.1092761272@sss.pgh.pa.us
Whole thread Raw
In response to Re: LOAD not updating object in session  (Graeme Hinchliffe <graeme.hinchliffe@zeninternet.co.uk>)
List pgsql-bugs
Graeme Hinchliffe <graeme.hinchliffe@zeninternet.co.uk> writes:
> It didn't dump core for me, it was quite happy :)  I would guess because
> I have a function called trigf loaded in memory?

No; the lack of a V1 macro referencing testtrig would definitely cause
the backend to call testtrig using V0 conventions, in other words fcinfo
will not be passed.  It could be that the indirection through a garbage
value of fcinfo happens to land on valid memory in your compilation.
(I did not get a core dump either when compiling on HPUX, but I have not
bothered to chase down why not.)

I don't know of any reason for RHL 9 to work differently from RHL 8 in
this regard.  Can anyone else duplicate the problem?

BTW, given the testtrig/trigf confusion ... is it possible you were
LOADing the wrong file?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Graeme Hinchliffe
Date:
Subject: Re: LOAD not updating object in session
Next
From: "Robert E. Bruccoleri"
Date:
Subject: Re: BUG #1208: Invalid page header