From: | "Michael R(dot) Fahey" <mfahey(at)qilinlaw(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Can't add PL/PGSQL function even after running createlang. |
Date: | 2001-10-04 03:05:11 |
Message-ID: | 412DD2FBFC58D543B7FE12ABF0D305F62CA6E5@mail.qilinlaw.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
[...]
>
> "Michael R. Fahey" <mfahey(at)qilinlaw(dot)com> writes:
> > ... I have already run
> > createlang plpgsql template1 from the command line
>
> It sure sounds like that step failed. Did you pay attention to any
> messages it generated?
I tried the commands again dumped the messages into a new file plpgsql.
$ createlang -l template1
Procedural languages
Name | Trusted? | Compiler
------+----------+----------
(0 rows)
createlang: missing required argument PGLIB directory
(This is the directory where the interpreter for the procedural
language is stored. Traditionally, these are installed in whatever
'lib' directory was specified at configure time.)
$export PGLIB=/usr/local/pgsql/lib >> pl*
echo $PGLIB >> pl*
/usr/local/pgsql/lib
$ls /usr/local/pgsql/lib >> pl*
libecpg.a
libecpg.so
libecpg.so.3
libecpg.so.3.2.0
libpgeasy.a
libpgeasy.so
libpgeasy.so.2
libpgeasy.so.2.1
libpq.a
libpq.so
libpq.so.2
libpq.so.2.1
plpgsql.so
$createlang plpgsql template1 >> pl*
createlang: A function named 'plpgsql_call_handler' already exists.
Installation aborted.
$droplang -d template1 plpgsql >> pl*
droplang: 'plpgsql' is not installed in database template1
$createlang plpgsql template1 >> pl*
createlang: A function named 'plpgsql_call_handler' already exists.
Installation aborted.
createlang -l template1 >> pl*
Procedural languages
Name | Trusted? | Compiler
------+----------+----------
(0 rows)
Michael Fahey
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2001-10-04 03:49:11 | Speeding aggregates by splitting the work |
Previous Message | James F. Hranicky | 2001-10-04 00:45:33 | Re: Inserting encrypted data into postgres |