X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9C52BD1B893 for ; Mon, 5 Apr 2004 17:39:02 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 77806-02 for ; Mon, 5 Apr 2004 14:39:30 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id AC995D1B88D for ; Mon, 5 Apr 2004 14:38:59 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i35HdS98013419; Mon, 5 Apr 2004 13:39:29 -0400 (EDT) To: "Gavin" Cc: pgsql-sql@postgresql.org Subject: Re: Function To Log Changes In-reply-to: <50616.63.65.2.36.1081184499.squirrel@www.grabias.com> References: <50616.63.65.2.36.1081184499.squirrel@www.grabias.com> Comments: In-reply-to "Gavin" message dated "Mon, 05 Apr 2004 13:01:39 -0400" Date: Mon, 05 Apr 2004 13:39:28 -0400 Message-ID: <13418.1081186768@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/25 X-Sequence-Number: 17400 "Gavin" writes: > Hi All, I have been tinkering with a function to log the changes made on > any column through a function and trigger. However, I cant think of a way > to make this work through pl/pgsql. plpgsql won't do it, but you could do it in pltcl, I believe. Or resort to C ;-) regards, tom lane