Re: plperl returning setof foo[]
| От | Tom Lane |
|---|---|
| Тема | Re: plperl returning setof foo[] |
| Дата | |
| Msg-id | 8069.1252776659@sss.pgh.pa.us обсуждение |
| Ответ на | plperl returning setof foo[] (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: plperl returning setof foo[]
|
| Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes:
> The fix is fairly small (see attached) although I need to check with
> some perlguts guru to see if I need to decrement a refcounter here or there.
The array_ret variable seems a bit unnecessary, and declared well
outside the appropriate scope if it is necessary.
> Nobody has complained about it over the years, so I wonder if it should
> be backpatched. It wouldn't change any working behaviour, just remove
> the non-working property of some documented behaviour.
AFAICT it just fails, so backpatching seems like a bug fix not a
behavioral change.
regards, tom lane
В списке pgsql-hackers по дате отправления: