Received: from mail.equinux.net (mail.equinux.net [212.18.13.10]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2Q9P8w70843 for ; Mon, 26 Mar 2001 04:25:14 -0500 (EST) (envelope-from schollum@equinux.de) Received: from muc.equinux.net (santorin [192.168.40.1]) by mail.equinux.net (Postfix) with ESMTP id 3D05F7E07 for ; Mon, 26 Mar 2001 11:24:40 +0200 (CEST) Received: from equinux.de (aspen.muc.equinux.net [192.168.40.41]) by muc.equinux.net (8.8.8/8.8.8/Debian/GNU) with ESMTP id LAA09955 for ; Mon, 26 Mar 2001 11:24:35 +0200 Message-ID: <3ABF0AD3.9F117AAF@equinux.de> Date: Mon, 26 Mar 2001 11:24:32 +0200 From: Norbert Schollum X-Mailer: Mozilla 4.5 [de] (Macintosh; I; PPC) X-Accept-Language: de MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Functions and Triggers Content-Type: text/plain; charset=iso-8859-1; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/515 X-Sequence-Number: 2186 Hello there! here is what i want to realize: a trigger, that puts a now() in the last_updated field, on any update of that table. i read the manual but i wasnt able to make a working function. what is the return value here? is there any or is it void? has somebody a example for me that is similary to my problem? thank you alot! Greetings Norbert -- Norbert Schollum ----------------------------------------------- equinux Aktiengesellschaft Informationstechnologien Gabelsbergerstr. 30 80333 München - Germany Tel. 089/520465-0 Fax. 089/520465-299 mailto:schollum@equinux.de http://www.equinux.de