Re: arrays as pl/perl input arguments [PATCH]
Alvaro Herrera <alvherre@commandprompt.com>
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tim Bunce <tim.bunce@pobox.com>
Cc: Alexey Klyukin <alexk@commandprompt.com>, Andrew Dunstan <andrew@dunslane.net>, Alex Hunsaker <badalex@gmail.com>, David E. Wheeler <david@kineticode.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-02-16T19:21:58Z
Lists: pgsql-hackers
Excerpts from Tim Bunce's message of mié feb 16 14:08:11 -0300 2011: > On Sat, Feb 12, 2011 at 02:17:12AM +0200, Alexey Klyukin wrote: > > > > So, here is the v8. Instead of rewriting the encode_array_literal I've added > > another function, encode_type_literal (could use a better name). > Given that encode_array_literal() encodes an _array_ as a literal, > I'd assume encode_type_literal() encodes a _type_ as a literal. > > I'd suggest encode_typed_literal() as a better name. FYI I'm looking at this patch (v10), and I'll incorporate Tim's suggestion. -- Álvaro Herrera <alvherre@commandprompt.com> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support