From: Nicolas Cadou <hostmaster@virtuel.qc.ca>
To: pgsql-sql list <pgsql-sql@postgresql.org>
Subject: Missing PL/pgSQL library
Date: Fri, 20 Aug 1999 13:00:52 -0400
Message-ID: <002f01beeb2d$8febe610$058d60cf@virtuel.qc.ca> (raw)
[PostgreSQL 6.5.1 on i686-pc-linux-gnu, compiled by gcc 2.7.2.3]
Hi,
I installed the PostgreSQL 6.5.1-1 RPM packages that I downloaded from
ftp://postgresql.nextpath.com/pub/postgresql/RPMS/
I then tried to make PL/pgSQL to work by typing in psql, as the postgres
user, in the 'template1' database, these statements from the PostgreSQL
Programmer's Guide, Chapter 43. Procedural Languages
CREATE FUNCTION plpgsql_call_handler () RETURNS OPAQUE AS
'/usr/local/pgsql/lib/plpgsql.so' LANGUAGE 'C';
CREATE TRUSTED PROCEDURAL LANGUAGE 'plpgsql'
HANDLER plpgsql_call_handler
LANCOMPILER 'PL/pgSQL';
It worked with 6.4.2, but with 6.5.1 it complains about
'/usr/local/pgsql/lib/plpgsql.so' being not found. I did a 'find / -name
plpgsql.so' as root and didn't find that file. In fact the directory
'/usr/local/pgsql' doesn't even exists. So I listed the files in the eight
RPMs and found that plpgsql.so is not in any of them. What am I missing? Can
you help me with this?
Thank you for your time
Nicolas Cadou
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: hostmaster@virtuel.qc.ca
Subject: Re: Missing PL/pgSQL library
In-Reply-To: <002f01beeb2d$8febe610$058d60cf@virtuel.qc.ca>
References: <002f01beeb2d$8febe610$058d60cf@virtuel.qc.ca>
* 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