Skip site navigation (1) Skip section navigation (2)

Re: arrays as pl/perl input arguments [PATCH]

From: Alex Hunsaker <badalex(at)gmail(dot)com>
To: Alexey Klyukin <alexk(at)commandprompt(dot)com>
Cc: "David E(dot) Wheeler" <david(at)kineticode(dot)com>, pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: arrays as pl/perl input arguments [PATCH]
Date: 2011-01-27 07:31:47
Message-ID: AANLkTikV4UXWK4GfzGBJKjFDQVE8kJXUBou9KzhpZDML@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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

Attachment: pg_to_perl_arrays_v3.patch.gz
Description: application/x-gzip (5.8 KB)

In response to

Responses

pgsql-hackers by date

Next:From: ghatpandeDate: 2011-01-27 08:49:18
Subject: Re: [HACKERS] Seeking Mentors for Funded Reviewers
Previous:From: Dusan MisicDate: 2011-01-27 07:07:34
Subject: Re: Query Optimizer + Parallel Operators

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group