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

From Tom Lane
Subject Re: [SQL] plpgsql error
Date
Msg-id 13418.926432918@sss.pgh.pa.us
Whole thread Raw
In response to Re: [SQL] plpgsql error  (jwieck@debis.com (Jan Wieck))
List pgsql-sql
jwieck@debis.com (Jan Wieck) writes:
>> Change: as '${exec_prefix}/lib/plpgsql.so'
>> to: as '/usr/local/pgsql/lib/plpgsql.so'
>> 
>> This should really be part of the documentation as I wasted two days on
>> this same problem a few weeks back.

>     And this became IMHO an FAQ. Should we avoid it by installing
>     PL/pgSQL and PL/Tcl (if built) by default  in  the  template1
>     database  during  intidb?

Actually, I thought the same until last night, when I realized that
mklang.sql is in fact being made wrong --- the ${exec_prefix} should
be expanded when the file is created, but it isn't.  (There's another
bug in it too: .so is hardwired, when it should be DLSUFFIX.)

So now I think what's really going on is that people *are* faithfully
following the install directions, but it's not working because of this
screwup.  Oops.

Fixing it is not quite as trivial as I first thought --- see related
messages in hackers list.
        regards, tom lane


pgsql-sql by date:

Previous
From: Michael J Davis
Date:
Subject: RE: [SQL] plpgsql error
Next
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [SQL] plpgsql error