another plperl bug

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: another plperl bug
Date: 2004-11-22 12:37:46
Message-ID: 1692.24.211.141.25.1101127066.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


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.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2004-11-22 13:28:46 Re: Preventing some SQL commands
Previous Message Matt 2004-11-22 10:06:55 Re: patch: plpgsql - access records with rec.(expr)

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-11-22 15:46:21 Re: pgcrypto: Makefile check
Previous Message Troels Arvin 2004-11-22 09:34:48 Re: SQL Conformance introductory section