Re: [SQL] plpgsql error

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Andy Lewis <alewis(at)themecca(dot)net>
Cc: "Adam H(dot) Pendleton" <apendleton(at)vgsinc(dot)com>, PostgreSQL-development <hackers(at)postgreSQL(dot)org>
Subject: Re: [SQL] plpgsql error
Date: 1999-05-10 21:38:16
Message-ID: 199905102138.RAA14539@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql


Yes, this clearly looks broken. In mklang.sql.in, @libdir@ is replaced
with ${exec_prefix} in mklang.sql. Seems it should be something else.

> 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.
> >
> >
> >
>
>
>
>
>

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-05-10 21:49:01 Re: [HACKERS] 6.5 TODO list
Previous Message Bruce Momjian 1999-05-10 21:31:15 IRC, webcam, IM

Browse pgsql-sql by date

  From Date Subject
Next Message Jan Wieck 1999-05-11 07:35:27 Re: [SQL] plpgsql error
Previous Message Tom Lane 1999-05-10 21:34:55 Re: [SQL] plpgsql error