Re: [SQL] plpgsql error - Mailing list pgsql-sql

From Andy Lewis
Subject Re: [SQL] plpgsql error
Date
Msg-id Pine.LNX.4.05.9905101558490.25772-100000@tmg.themecca.net
Whole thread Raw
In response to plpgsql error  ("Adam H. Pendleton" <apendleton@vgsinc.com>)
Responses Re: [SQL] plpgsql error
List pgsql-sql
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.
> 
> 
> 





pgsql-sql by date:

Previous
From: Michael J Davis
Date:
Subject: RE: [SQL] plpgsql error
Next
From: Tom Lane
Date:
Subject: Re: [SQL] plpgsql error