From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Andrew Dunstan" <andrew(at)dunslane(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: another plperl bug |
Date: | 2004-11-22 16:51:56 |
Message-ID: | 16356.1101142316@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
"Andrew Dunstan" <andrew(at)dunslane(dot)net> writes:
> I discovered a further plperl bug last night. If foo() is a SRF and
> therefore returns an arrayref, calling select foo() rather than select *
> from foo() causes a segfault because this line passes NULL as the argument:
> tupdesc = CreateTupleDescCopy(rsinfo->expectedDesc);
> I am not sure I even know what the behaviour should be, and my available
> time to work on a fix is severely contrained ATM.
It should do the same as plpgsql: throw an error about "set-returning
function called in a context that cannot accept a set", or however that
was phrased. I'll put in a fix.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2004-11-22 17:14:17 | Re: Beta5 now Available |
Previous Message | Marc G. Fournier | 2004-11-22 16:49:25 | Re: Beta5 now Available |
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Pflug | 2004-11-22 17:34:51 | htmlhelp generation |
Previous Message | Michael Fuhr | 2004-11-22 16:36:55 | Re: another plperl bug |