Re: Add utility functions to plperl [PATCH]

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Tim Bunce <Tim.Bunce@pobox.com>
Cc: pgsql-hackers@postgresql.org
Date: 2010-01-20T01:34:05Z
Lists: pgsql-hackers

Tim Bunce wrote:
> This is the first of the patches to be split out from the former 'plperl
> feature patch 1'.
>
> Changes in this patch:
>
> - Added utility functions: quote_literal, quote_nullable, quote_ident,
>     encode_bytea, decode_bytea, looks_like_number,
>     encode_array_literal, encode_array_constructor.
>
> - Warnings no longer have an extra newline in the NOTICE text.
>
> - Corresponding documentation changes in plperl.sgml, plus:
>     Removed some trailing whitespace.
>     Made some examples use more idiomatic perl.
>     Added the missing ', arguments' to docs of spi_exec_prepared().
>
>   

Applied with a little editing. I also added CVS markers where they were 
missing.

cheers

andrew