Re: session persistent data for plperl - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: session persistent data for plperl
Date
Msg-id 200402082313.12850.josh@agliodbs.com
Whole thread Raw
In response to session persistent data for plperl  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: session persistent data for plperl  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Adnrew,

> The attached tiny patch (not intended for application yet) provides a
> space for plperl functions to create and share session persistent data,
> which I should think would increase the utility of plperl.

You want to really make PL/Perl more useful?   Add an SPI interface, and work 
out the kinks in error-trapping via eval{}.  This would be far more useful 
that session variables.

Just a thought.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: psql variables
Next
From: Slavisa Garic
Date:
Subject: Timestamps