X-Original-To: pgsql-sql@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 0501A924AF1 for ; Fri, 23 May 2003 05:18:00 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 75584-10 for ; Fri, 23 May 2003 05:17:24 -0400 (EDT) Received: from web10403.mail.yahoo.com (web10403.mail.yahoo.com [216.136.130.95]) by developer.postgresql.org (Postfix) with SMTP id B68EF925D96 for ; Fri, 23 May 2003 02:48:31 -0400 (EDT) Message-ID: <20030523064831.64448.qmail@web10403.mail.yahoo.com> Received: from [69.22.37.171] by web10403.mail.yahoo.com via HTTP; Thu, 22 May 2003 23:48:31 PDT Date: Thu, 22 May 2003 23:48:31 -0700 (PDT) From: Bruce Young Subject: language "plpgsql" does not exist To: pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/452 X-Sequence-Number: 13617 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