Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection;

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Oleg Serov <serovov(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection;
Date: 2008-11-17 04:59:15
Message-ID: 4920FA23.9090604@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> So about the only real answer is going to be preloading. It seems worth
> considering that on machines where can_run_two is true, we should just
> go ahead and initialize both interps at _PG_init time, so as to allow
> the "require Safe" overhead to be bought back by preloading.

Even if only one language is defined?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-17 05:10:06 Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection;
Previous Message Robert Haas 2008-11-17 02:46:51 Re: Custom variables and flags, again