Re: pg_proc probin misuse

From: PFC <lists(at)peufeu(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "James William Pye" <pgsql(at)jwp(dot)name>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_proc probin misuse
Date: 2006-05-29 05:10:03
Message-ID: op.taara1a3cigqcu@apollo13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> If it were really expensive to derive bytecode from source text
> then maybe it'd make sense to do what you're doing, but surely that's
> not all that expensive. Everyone else manages to parse prosrc on the
> fly and cache the result in memory; why isn't plpython doing that?

It depends on the number of imported modules in the function. If it
imports a lot of modules, it can take some time to compile a python
function (especially if the modules have some initialisation code which
must be run on import).

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2006-05-29 06:01:07 Re: Inefficient bytea escaping?
Previous Message Alvaro Herrera 2006-05-29 04:53:02 non-transactional pg_class