Thread: plpgsql language
hello, i got this error when i tried to create a function "unrecognized language specified in CREATE FUNCTION: 'plpgsql'" why is that?
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?
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 --------------------------------------------------------------------------