pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Andy Lewis <alewis@themecca.net>
Cc: Adam H. Pendleton <apendleton@vgsinc.com>
Cc: PostgreSQL-development <hackers@postgreSQL.org>
Subject: Re: [SQL] plpgsql error
Date: Mon, 10 May 1999 17:38:16 -0400 (EDT)
Message-ID: <199905102138.RAA14539@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.05.9905101558490.25772-100000@tmg.themecca.net>


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



view thread (12+ messages)  latest in thread

Message-ID: <199905102138.RAA14539@candle.pha.pa.us>
Permalink:  ../199905102138.RAA14539@candle.pha.pa.us/
Also on:    postgresql.org/message-id/199905102138.RAA14539@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: maillist@candle.pha.pa.us, alewis@themecca.net, apendleton@vgsinc.com, hackers@postgreSQL.org
  Subject: Re: [SQL] plpgsql error
  In-Reply-To: <199905102138.RAA14539@candle.pha.pa.us>
  References: <Pine.LNX.4.05.9905101558490.25772-100000@tmg.themecca.net> <199905102138.RAA14539@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox