Thread: plperl loading
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
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
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