Received: from tmg.themecca.net (alewis@themecca.net [207.252.220.51] (may be forged)) by hub.org (8.9.3/8.9.3) with ESMTP id RAA07523 for ; Mon, 10 May 1999 17:05:30 -0400 (EDT) (envelope-from alewis@themecca.net) Received: from localhost (alewis@localhost) by tmg.themecca.net (8.9.1/8.9.3) with ESMTP id QAA25910; Mon, 10 May 1999 16:05:22 -0500 Date: Mon, 10 May 1999 16:05:22 -0500 (CDT) From: Andy Lewis To: "Adam H. Pendleton" cc: pgsql-sql@hub.org Subject: Re: [SQL] plpgsql error In-Reply-To: <009e01be9b24$2db88d30$bdd0be80@belvoir.army.mil> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. Have fun Andy On Mon, 10 May 1999, Adam H. Pendleton wrote: > I get this error when I try to create a function using plpgsql: > > ERROR: Unrecognized language specified in a CREATE FUNCTION: 'plpgsql'. > Recognized languages are sql, C, internal and the created procedural > languages. > > Do I need to specify another flag when I compile Postgresql? > > Adam > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Si hoc legere scis nimium eruditionis habes. > > >