Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 049C2475EDA for ; Fri, 3 May 2002 07:17:37 -0400 (EDT) Received: from hotmail.com (f186.law15.hotmail.com [64.4.23.186]) by postgresql.org (Postfix) with ESMTP id 144A4475DFD for ; Fri, 3 May 2002 07:17:36 -0400 (EDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 3 May 2002 04:17:38 -0700 Received: from 194.12.229.193 by lw15fd.law15.hotmail.msn.com with HTTP; Fri, 03 May 2002 11:17:38 GMT X-Originating-IP: [194.12.229.193] From: "jquest jquest" To: pgsql-admin@postgresql.org Subject: Trigger problem Date: Fri, 03 May 2002 11:17:38 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 May 2002 11:17:38.0880 (UTC) FILETIME=[225EBC00:01C1F294] X-Archive-Number: 200205/14 X-Sequence-Number: 4189 Hi, I am new to postgresql and to this moment I am using oracle. I use posgresql 7.1.2 I try to create very simple ( from doc. examples ) trigger: CREATE FUNCTION add_one (integer) RETURNS INTEGER AS ' BEGIN RETURN $1 + 1; END; ' LANGUAGE 'pgsql'; But the system report: ERROR: Unrecognized language specified in a CREATE FUNCTION: 'pgsql'. Recognized languages are sql, C, internal, and created procedural languages. I readet in documentation that pgsql is good solution for SP. Where is the problem? Many thanks in advance. _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com