Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8B10E475FE3 for ; Mon, 2 Dec 2002 11:41:48 -0500 (EST) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by postgresql.org (Postfix) with ESMTP id 93157476318 for ; Mon, 2 Dec 2002 11:40:57 -0500 (EST) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 18Itd0-000JEn-0W; Mon, 02 Dec 2002 16:41:02 +0000 Received: from localhost ([127.0.0.1] ident=olly) by linda.lfix.co.uk with esmtp (Exim 3.36 #1 (Debian)) id 18Itcz-0006yf-00; Mon, 02 Dec 2002 16:41:01 +0000 Subject: Re: pg_restore error: function plpgsql_call_handler From: Oliver Elphick To: nickf@ontko.com Cc: pgsql-admin In-Reply-To: References: Content-Type: text/plain Organization: LFIX Limited Message-Id: <1038847261.1190.1.camel@linda.lfix.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 02 Dec 2002 16:41:01 +0000 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/6 X-Sequence-Number: 6501 On Mon, 2002-12-02 at 14:47, Nick Fankhauser wrote: > Apparently my first problem is the result of plpgsql already being defined > in template1. I haven't touched template1 since my install, but it may be > that template1 comes with this already defined, or it may be that template1 > is set up this way only in the Debian package, which I use for installation. > Perhaps Oliver can shed some light on this. The post-installation script enables it in all writable databases, including template1. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "For the mountains shall depart, and the hills be removed; but my kindness shall not depart from thee, neither shall the covenant of my peace be removed, saith the LORD that hath mercy on thee." Isaiah 54:10