Re: arrays as pl/perl input arguments [PATCH] - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: arrays as pl/perl input arguments [PATCH]
Date
Msg-id 983BF213-5C2B-4FFA-80BD-28EF31C5AA1F@kineticode.com
Whole thread Raw
In response to Re: arrays as pl/perl input arguments [PATCH]  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: arrays as pl/perl input arguments [PATCH]  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On Jan 12, 2011, at 11:51 AM, Alvaro Herrera wrote:

>> I suspect it'd be quiet, unfortunately, since there are a bazillion ad hoc implementations of a Perl SQL array
parser,and many of them, I suspect, don't complain if the string doesn't look like an SQL array. They would just parse
astring like "ARRAY(0x118ee2a0)" and return an empty array, or a NULL. 
>
> I kinda doubt that a function failing in that way would pass any
> testing.

What is this “testing” thing of which you speak?

David



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP: Range Types
Next
From: Robert Haas
Date:
Subject: Re: WIP: Range Types