Andrew Dunstan <andrew(at)dunslane(dot)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