Skip site navigation (1) Skip section navigation (2)

Re: Composite Types and Function Parameters

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Greg <grigorey(at)yahoo(dot)co(dot)uk>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Composite Types and Function Parameters
Date: 2010-10-28 16:23:28
Message-ID: 71A0347C-2188-47CA-82C4-CEE91C843C6D@kineticode.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Oct 27, 2010, at 9:08 PM, Andrew Dunstan wrote:

> Well, it turns out that the hashref required exactly one more line to achieve. We already have all the infrastructure on the composite handling code, and all it requires it to enable it for the RECORDOID case.

I don't suppose that it would be just as easy to allow an array passed to PL/Perl to be read into the PL/Perl function as an array reference, would it? Since it would break backcompat, it would need to be enabled by a plperl.* directive, but man, I would kill for that.

Best,

David


In response to

Responses

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2010-10-28 16:29:22
Subject: Re: plperl arginfo
Previous:From: Tom LaneDate: 2010-10-28 15:55:27
Subject: Re: max_wal_senders must die

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group