Re: bug or my ignorance ? - Mailing list pgsql-general

From Tom Lane
Subject Re: bug or my ignorance ?
Date
Msg-id 17052.1008084343@sss.pgh.pa.us
Whole thread Raw
In response to bug or my ignorance ?  (Holger Krug <hkrug@rationalizer.com>)
Responses Re: bug or my ignorance ?
List pgsql-general
Holger Krug <hkrug@rationalizer.com> writes:
>   =>select name(r.a) from (select testfun() as a) as r;
>   ERROR:  fmgr_info: function 137857576: cache lookup failed

Works okay if you just do

regression=# select name(testfun());
   name
-----------
 your name
(1 row)

In the other case it's getting confused by provisions left over from the
ancient PostQUEL "set attribute" feature.  AFAICT that feature is
completely broken nowadays.  I've been meaning to rip it out and try to
set up a somewhat-sensible implementation of functions returning tuples.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with indexes
Next
From: "Robert J. Sanford, Jr."
Date:
Subject: Re: Perf number on a project