pgsql: Add utility functions to PLPerl: quote_literal,

From: adunstan(at)postgresql(dot)org (Andrew Dunstan)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add utility functions to PLPerl: quote_literal,
Date: 2010-01-20 01:08:21
Message-ID: 20100120010821.94C147541B9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add utility functions to PLPerl:
quote_literal, quote_nullable, quote_ident,
encode_bytea, decode_bytea, looks_like_number,
encode_array_literal, encode_array_constructor.
Split SPI.xs into two - SPI.xs now contains only SPI functions. Remainder
are in new Util.xs.
Some more code and documentation cleanup along the way, as well as
adding some CVS markers to files missing them.

Original patch from Tim Bunce, with a little editing from me.

Modified Files:
--------------
pgsql/doc/src/sgml:
plperl.sgml (r2.72 -> r2.73)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/plperl.sgml?r1=2.72&r2=2.73)
pgsql/src/pl/plperl:
GNUmakefile (r1.41 -> r1.42)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/GNUmakefile?r1=1.41&r2=1.42)
SPI.xs (r1.20 -> r1.21)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/SPI.xs?r1=1.20&r2=1.21)
plc_perlboot.pl (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plc_perlboot.pl?r1=1.1&r2=1.2)
plc_safe_bad.pl (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plc_safe_bad.pl?r1=1.1&r2=1.2)
plc_safe_ok.pl (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plc_safe_ok.pl?r1=1.1&r2=1.2)
plperl.c (r1.159 -> r1.160)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c?r1=1.159&r2=1.160)
plperl.h (r1.10 -> r1.11)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.h?r1=1.10&r2=1.11)
text2macro.pl (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/text2macro.pl?r1=1.1&r2=1.2)
pgsql/src/pl/plperl/expected:
plperl_elog.out (r1.7 -> r1.8)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/expected/plperl_elog.out?r1=1.7&r2=1.8)

Added Files:
-----------
pgsql/src/pl/plperl:
Util.xs (r1.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/Util.xs?rev=1.1&content-type=text/x-cvsweb-markup)
pgsql/src/pl/plperl/expected:
plperl_util.out (r1.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/expected/plperl_util.out?rev=1.1&content-type=text/x-cvsweb-markup)
pgsql/src/pl/plperl/sql:
plperl_util.sql (r1.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/sql/plperl_util.sql?rev=1.1&content-type=text/x-cvsweb-markup)

Removed Files:
-------------
pgsql/src/pl/plperl:
spi_internal.c
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/spi_internal.c)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-01-20 03:13:36 Re: pgsql: Add utility functions to PLPerl: quote_literal,
Previous Message Robert Haas 2010-01-20 00:42:28 pgsql: Reformat documentation of libpq escaping functions.