pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gavin <gavin@grabias.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Function To Log Changes
Date: Mon, 05 Apr 2004 13:39:28 -0400
Message-ID: <13418.1081186768@sss.pgh.pa.us> (raw)
In-Reply-To: <50616.63.65.2.36.1081184499.squirrel@www.grabias.com>
References: <50616.63.65.2.36.1081184499.squirrel@www.grabias.com>

"Gavin" <gavin@grabias.com> 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



view thread (5+ messages)  latest in thread

Message-ID: <13418.1081186768@sss.pgh.pa.us>
Permalink:  ../13418.1081186768@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13418.1081186768@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, gavin@grabias.com
  Subject: Re: Function To Log Changes
  In-Reply-To: <13418.1081186768@sss.pgh.pa.us>

* 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