pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
plperl loading
3+ messages / 2 participants
[nested] [flat]

* plperl loading
@ 2004-12-13 20:10 Marek Lewczuk <newsy@lewczuk.com>
  2004-12-13 21:47 ` Re: plperl loading Joe Conway <mail@joeconway.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Marek Lewczuk @ 2004-12-13 20:10 UTC (permalink / raw)
  To: Lista dyskusyjna pgsql-general <pgsql-general@postgresql.org>; pgsql-admin

Hi,
I've made some tests with plperl and I see that when plperl function is 
executed for the first time, then it takes much more time. I know that 
this is a "shared library" problem - is there a way to preload plperl 
every connection or maybe I can build plperl into postgresql source ?

Thanks in advance.

ML

 



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: plperl loading
  2004-12-13 20:10 plperl loading Marek Lewczuk <newsy@lewczuk.com>
@ 2004-12-13 21:47 ` Joe Conway <mail@joeconway.com>
  2004-12-14 06:54   ` Re: plperl loading Marek Lewczuk <newsy@lewczuk.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Joe Conway @ 2004-12-13 21:47 UTC (permalink / raw)
  To: Marek Lewczuk <newsy@lewczuk.com>; +Cc: Lista dyskusyjna pgsql-general <pgsql-general@postgresql.org>; pgsql-admin

Marek Lewczuk wrote:
> I've made some tests with plperl and I see that when plperl function is 
> executed for the first time, then it takes much more time. I know that 
> this is a "shared library" problem - is there a way to preload plperl 
> every connection or maybe I can build plperl into postgresql source ?

See:
http://www.postgresql.org/docs/current/static/runtime-config.html
and search for "preload_libraries"

HTH,

Joe



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: plperl loading
  2004-12-13 20:10 plperl loading Marek Lewczuk <newsy@lewczuk.com>
  2004-12-13 21:47 ` Re: plperl loading Joe Conway <mail@joeconway.com>
@ 2004-12-14 06:54   ` Marek Lewczuk <newsy@lewczuk.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Marek Lewczuk @ 2004-12-14 06:54 UTC (permalink / raw)
  To: Joe Conway <mail@joeconway.com>; +Cc: Lista dyskusyjna pgsql-general <pgsql-general@postgresql.org>; pgsql-admin

Joe Conway napisaƂ(a):
> Marek Lewczuk wrote:
> 
>> I've made some tests with plperl and I see that when plperl function 
>> is executed for the first time, then it takes much more time. I know 
>> that this is a "shared library" problem - is there a way to preload 
>> plperl every connection or maybe I can build plperl into postgresql 
>> source ?
> 
> 
> See:
> http://www.postgresql.org/docs/current/static/runtime-config.html
> and search for "preload_libraries"
Thanks Joe. This is what I was looking for.

ML

 



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2004-12-14 06:54 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-13 20:10 plperl loading Marek Lewczuk <newsy@lewczuk.com>
2004-12-13 21:47 ` Joe Conway <mail@joeconway.com>
2004-12-14 06:54   ` Marek Lewczuk <newsy@lewczuk.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox