http://www.perlmonks.org?node_id=424541


in reply to Re: Perl, PostgreSQL, and Where Things Are Done
in thread Perl, PostgreSQL, and Where Things Are Done

A side note - do you think PL/Perl can become something like mod_perl?

An interesting thought ... Based on my experience I would say in it's current form, probably not - This is because of the lack of any persistency in the execution of the embedded Perl interpreter and lack of any callback execution based upon server events outside of the specific execution of a stored procedure in a SQL query. This however could be an interesting direction for forward development of the PL/Perl interface.

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001000000000'"

  • Comment on Re^2: Perl, PostgreSQL, and Where Things Are Done

Replies are listed 'Best First'.
Re^3: Perl, PostgreSQL, and Where Things Are Done
by bill_mcgonigle (Acolyte) on Jan 25, 2005 at 21:19 UTC
    I wonder if you had a perl daemon listening on a unix socket and had the PL/Perl module farm out some evals if that would be faster. Does the embedded perl interperter have direct access to the datastore (some sort of shared memory) or are values 'passed in' (copied)?