Re: arrays as pl/perl input arguments [PATCH]
Alex Hunsaker <badalex@gmail.com>
From: Alex Hunsaker <badalex@gmail.com>
To: Alexey Klyukin <alexk@commandprompt.com>
Cc: "David E. Wheeler" <david@kineticode.com>, pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>
Date: 2011-01-27T07:31:47Z
Lists: pgsql-hackers
Attachments
- pg_to_perl_arrays_v3.patch.gz (application/x-gzip) patch v3
Find attached v3 of the patch. changes include: - fix deep recursion due to accidental reversal of check in encode_array_literal - add proper support for stringifying composite/row types. I did not find a good way to quote these from the perl on the fly, so instead we compute it the same way we used to and store the string inside the new object along with the array :(. - misc whitespace and code touchups