Re: [SQL] plpgsql error

From: Andy Lewis <alewis(at)themecca(dot)net>
To: "Adam H(dot) Pendleton" <apendleton(at)vgsinc(dot)com>
Cc: pgsql-sql(at)hub(dot)org
Subject: Re: [SQL] plpgsql error
Date: 1999-05-10 21:05:22
Message-ID: Pine.LNX.4.05.9905101558490.25772-100000@tmg.themecca.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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.
>
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-05-10 21:31:15 IRC, webcam, IM
Previous Message Adam H. Pendleton 1999-05-10 20:32:09 plpgsql error

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 1999-05-10 21:34:55 Re: [SQL] plpgsql error
Previous Message Michael J Davis 1999-05-10 20:46:59 RE: [SQL] plpgsql error