Re: pl/perl example in the doc no longer works in 9.1
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "David E. Wheeler" <david@kineticode.com>
Cc: Alex Hunsaker <badalex@gmail.com>, Amit Khandekar <amit.khandekar@enterprisedb.com>, hackers@postgresql.org, Alvaro Herrera <alvherre@commandprompt.com>, Alexey Klyukin <alexk@commandprompt.com>
Date: 2011-10-13T18:25:33Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Convert Postgres arrays to Perl arrays on PL/perl input arguments
- 87bb2ade2ce6 9.1.0 cited
"David E. Wheeler" <david@kineticode.com> writes: > On Oct 13, 2011, at 11:02 AM, Tom Lane wrote: >> I'm working through this patch now. Does anyone object to having the >> array-to-non-array-result-type and hash-to-non-rowtype-result-type cases >> throw errors, rather than returning the rather useless ARRAY(...) and >> HASH(...) strings as pre-9.1 did? > Certainly not in 9.2, no. Not sure about 9.1, though. Well, right now 9.1 is returning some rather random results. If we don't change it, someone might claim that later releases ought to be compatible with that ... regards, tom lane