Re: why does plperl cache functions using just a bool for is_trigger

David Wheeler <david@kineticode.com>

From: "David E. Wheeler" <david@kineticode.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Alex Hunsaker <badalex@gmail.com>, Jan Urbański <wulczer@wulczer.org>, Tom Lane <tgl@sss.pgh.pa.us>, Andrew Dunstan <andrew@dunslane.net>, Postgres - Hackers <pgsql-hackers@postgresql.org>
Date: 2010-11-04T20:28:37Z
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. Remove unnecessary use of trigger flag to hash plperl functions

On Nov 4, 2010, at 4:20 AM, Peter Eisentraut wrote:

> On ons, 2010-11-03 at 14:15 -0700, David E. Wheeler wrote:
>> /me wants a global $dbh that mimics the DBI interface but just uses
>> SPI under the hood. Not volunteering, either…
> 
> Already exists: DBD::PgSPI.  Probably needs lots of updating through.

Funny I never noticed that before. I couldn't get it to build, of course. And it looks a bit heavy, relying on DBD::Pg. Seems like it'd be easier to write something that just uses SPI and emulates the DBI interface, IMHO.

Best,

David