another plperl bug

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема another plperl bug
Дата
Msg-id 1692.24.211.141.25.1101127066.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Re: New compile warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: another plperl bug  (Michael Fuhr <mike@fuhr.org>)
Re: another plperl bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: another plperl bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Matt
Дата:
Сообщение: Re: patch: plpgsql - access records with rec.(expr)
Следующее
От: Thomas Hallgren
Дата:
Сообщение: Re: Preventing some SQL commands