Обсуждение: plpgsql language

Поиск
Список
Период
Сортировка

plpgsql language

От
chard
Дата:
hello,
i got this error when i tried to create a function 
"unrecognized language specified in CREATE FUNCTION: 'plpgsql'" why is
that?



RE: plpgsql language

От
Michael Davis
Дата:
Did you execute the following after you created your database?

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';

These are needed for the plpgsql language to work.

-----Original Message-----
From:    chard [SMTP:chard@hindang.msuiit.edu.ph]
Sent:    Tuesday, January 23, 2001 10:40 PM
To:    pgsql-sql@postgresql.org
Subject:    plpgsql language

hello,
i got this error when i tried to create a function 
"unrecognized language specified in CREATE FUNCTION: 'plpgsql'" why is
that?



Re: plpgsql language

От
"Albert REINER"
Дата:
On Wed, Jan 24, 2001 at 01:39:48PM +0800, chard wrote:
> hello,
> i got this error when i tried to create a function 
> "unrecognized language specified in CREATE FUNCTION: 'plpgsql'" why is
> that?

man createlang

-- 

--------------------------------------------------------------------------
Albert Reiner                                   <areiner@tph.tuwien.ac.at>
Deutsch       *       English       *       Esperanto       *       Latine
--------------------------------------------------------------------------