Re: pl/perl example in the doc no longer works in 9.1
David Wheeler <david@kineticode.com>
From: "David E. Wheeler" <david@kineticode.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Amit Khandekar <amit.khandekar@enterprisedb.com>, hackers@postgresql.org
Date: 2011-10-12T16:23:42Z
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
On Oct 12, 2011, at 9:15 AM, Tom Lane wrote: > Well, the real question is why a function declared to return VOID cares > at all about what the last command in its body is. If this has changed > since previous versions then I think it's a bug and we should fix it, > not just change the example. It has indeed changed, either in 9.0 or 9.1 (the latter, I think). I had to add a bunch of bare return statements to existing functions. Best, David