pgsql: Fix breakage from earlier plperl fix.

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@postgresql.org
Date: 2012-01-05T23:02:48Z
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 →
  1. Fix breakage from earlier plperl fix.

Fix breakage from earlier plperl fix.

Apparently the perl garbage collector was a bit too eager, so here
we control when the new SV is garbage collected.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bd0e74a9ce98c65c94565fb603dcc7b710cd4227

Modified Files
--------------
src/pl/plperl/plperl_helpers.h |   23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)