From: Oliver Elphick <olly@lfix.co.uk>
To: feblec <carvalho@ig.com.br>
Cc: pgsql-sql@postgresql.org
Subject: Re: plpgsql
Date: Tue, 12 Dec 2000 16:20:39 +0000
Message-ID: <200012121620.eBCGKer23485@linda.lfix.co.uk> (raw)
In-Reply-To: <carvalho@ig.com.br> <Pine.LNX.4.21.0012090813020.1403-100000@s1.carvalho.com.br>
feblec wrote:
>consultas=# CREATE FUNCTION spread(text)
...
>consultas-# LANGUAGE 'plpgsql';
>ERROR: Unrecognized language specified in a CREATE
>FUNCTION: 'plpgsql'. Recognized languages are sql, C, internal and the
>created procedural languages.
create function plpgsql_call_handler() returns opaque
as '/usr/local/pgsql/lib/plpgsql.so' <-- or wherever
language 'C';
create trusted procedural language 'plpgsql'
handler plpgsql_call_handler
lancompiler 'PL/pgSQL';
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Be of good courage, and he shall strengthen your
heart, all ye that hope in the LORD."
Psalms 31:24
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: olly@lfix.co.uk, carvalho@ig.com.br
Subject: Re: plpgsql
In-Reply-To: <200012121620.eBCGKer23485@linda.lfix.co.uk>
* 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