Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA31222 for ; Tue, 11 May 1999 10:57:00 -0400 (EDT) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id KAA16248; Tue, 11 May 1999 10:56:42 -0400 (EDT) From: Bruce Momjian Message-Id: <199905111456.KAA16248@candle.pha.pa.us> Subject: Re: [SQL] plpgsql error In-Reply-To: from Jan Wieck at "May 11, 1999 09:35:27 am" To: Jan Wieck Date: Tue, 11 May 1999 10:56:42 -0400 (EDT) CC: Andy Lewis , apendleton@vgsinc.com, pgsql-sql@hub.org X-Mailer: ELM [version 2.4ME+ PL56 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > > > Edit: /usr/src/pgsql/postgresql-6.4.2/src/pl/plpgsql/src/mklang.sql > > > > Change: as '${exec_prefix}/lib/plpgsql.so' > > to: as '/usr/local/pgsql/lib/plpgsql.so' > > > > Then: psql your_db < mklang.sql > > > > This should really be part of the documentation as I wasted two days on > > this same problem a few weeks back. > > And this became IMHO an FAQ. Should we avoid it by installing > PL/pgSQL and PL/Tcl (if built) by default in the template1 > database during intidb? Installing it in template1 would > have the effect that it will be available after every > createdb. Sure, why not? -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026