Re: plperl returning setof foo[]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: plperl returning setof foo[]
Date: 2009-09-12 17:30:59
Message-ID: 8069.1252776659@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message fulan Peng 2009-09-12 18:49:59 Can not create more than 32766 databases in ufs file system.
Previous Message Andrew Dunstan 2009-09-12 17:17:50 plperl returning setof foo[]