Re: bug or my ignorance ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Holger Krug <hkrug(at)rationalizer(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: bug or my ignorance ?
Date: 2001-12-11 15:25:43
Message-ID: 17052.1008084343@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Holger Krug <hkrug(at)rationalizer(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert J. Sanford, Jr. 2001-12-11 15:33:45 Re: Perf number on a project
Previous Message Tom Lane 2001-12-11 15:02:58 Re: Problem with indexes