diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2011-02-17 22:11:50 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2011-02-17 22:20:40 -0300 |
commit | 87bb2ade2ce646083f39d5ab3e3307490211ad04 (patch) | |
tree | ad32fd5d829a65f06caca164bfc264cbee1e78f0 /src/backend/utils/adt/lockfuncs.c | |
parent | f7b51d175a02a3b6589f091ca732959618844232 (diff) | |
download | postgresql-87bb2ade2ce646083f39d5ab3e3307490211ad04.tar.gz postgresql-87bb2ade2ce646083f39d5ab3e3307490211ad04.zip |
Convert Postgres arrays to Perl arrays on PL/perl input arguments
More generally, arrays are turned in Perl array references, and row and
composite types are turned into Perl hash references. This is done
recursively, in a way that's natural to every Perl programmer.
To avoid a backwards compatibility hit, the string representation of
each structure is also available if the function requests it.
Authors: Alexey Klyukin and Alex Hunsaker.
Some code cleanups by me.
Diffstat (limited to 'src/backend/utils/adt/lockfuncs.c')
0 files changed, 0 insertions, 0 deletions