Re: why does plperl cache functions using just a bool for is_trigger - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: why does plperl cache functions using just a bool for is_trigger
Date
Msg-id 03ADD7F8-64F0-4C37-B7DE-B88A5F28438A@kineticode.com
Whole thread Raw
In response to Re: why does plperl cache functions using just a bool for is_trigger  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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.
Seemslike it'd be easier to write something that just uses SPI and emulates the DBI interface, IMHO. 

Best,

David




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: lazy snapshots?
Next
From: Alex Hunsaker
Date:
Subject: Re: why does plperl cache functions using just a bool for is_trigger