X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BA6383A64C9; Mon, 13 Dec 2004 21:47:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89340-09; Mon, 13 Dec 2004 21:47:15 +0000 (GMT) Received: from joeconway.com (wsip-24-249-201-67.sd.sd.cox.net [24.249.201.67]) by svr1.postgresql.org (Postfix) with ESMTP id 3E3A83A646F; Mon, 13 Dec 2004 21:47:16 +0000 (GMT) Received: from [206.19.64.3] (account jconway HELO [172.16.1.115]) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 2402175; Mon, 13 Dec 2004 13:36:13 -0800 Message-ID: <41BE0DE4.3050800@joeconway.com> Date: Mon, 13 Dec 2004 13:47:16 -0800 From: Joe Conway User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20040921 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marek Lewczuk Cc: Lista dyskusyjna pgsql-general , Lista dyskusyjna pgsql-admin Subject: Re: plperl loading References: <41BDF725.9030205@lewczuk.com> In-Reply-To: <41BDF725.9030205@lewczuk.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.041 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200412/116 X-Sequence-Number: 15702 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