From: Bruce Young <hbrucey@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: language "plpgsql" does not exist
Date: Thu, 22 May 2003 23:48:31 -0700 (PDT)
Message-ID: <20030523064831.64448.qmail@web10403.mail.yahoo.com> (raw)
i am trying to create functions only to get the above error in return.
what do i need to do to get PL/PGSQL functions working?
example:
CREATE FUNCTION logfunc1(text) RETURNS timestamp AS '
DECLARE
logtxt ALIAS FOR $1;
BEGIN
INSERT INTO logtable VALUES (logtxt, ''now'');
RETURN ''now'';
END;
' LANGUAGE plpgsql;
# ERROR: language "plpgsql" does not exist
any help appreciated
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
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: hbrucey@yahoo.com
Subject: Re: language "plpgsql" does not exist
In-Reply-To: <20030523064831.64448.qmail@web10403.mail.yahoo.com>
* 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