Re: hexadecimal to decimal - Mailing list pgsql-general

From Tom Lane
Subject Re: hexadecimal to decimal
Date
Msg-id 27450.1059623767@sss.pgh.pa.us
Whole thread Raw
In response to Re: hexadecimal to decimal  (Joe Conway <mail@joeconway.com>)
Responses Re: hexadecimal to decimal  (Joe Conway <mail@joeconway.com>)
List pgsql-general
Joe Conway <mail@joeconway.com> writes:
> So based on this simple test, I'd say that if you only run the function
> once per connect, use plpgsql, but if you run the function many times
> during one backend session, use perl.

Presumably, the 50 msec difference represents the time to load up the
perl library and initialize a perl interpreter.

It might help if libperl were to be preloaded into the postmaster in the
way you created ...

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Don't removes/recycles WAL files at all
Next
From: Joe Conway
Date:
Subject: Re: hexadecimal to decimal