pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: V i s h a l Kashyap @ [Sai Hertz And Control Systems] <sank89@sancharnet.in>
To: Jack Kerkhof <jack.kerkhof@guest-tek.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Trigger to identify which column(s) updated
Date: Tue, 20 Jan 2004 10:57:23 +0530
Message-ID: <400CBC3B.9030902@sancharnet.in> (raw)
In-Reply-To: <ENEIKKAEJOFHOIHMMOIDEEGBCJAA.jack.kerkhof@guest-tek.com>
References: <ENEIKKAEJOFHOIHMMOIDEEGBCJAA.jack.kerkhof@guest-tek.com>

Dear Jack  ,

>for each column in new:
>	if (new.column(1) != old.column(1)) ...
>
>      ...and then some snippet of code to determine the primary key column
>of new (or old)
>  
>
Check the following link

http://gborg.postgresql.org/project/tablelog/projdisplay.php

Hope this helps



-- 
Regards,
Vishal Kashyap

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
I Know you believe my words so logon to Jabber.org
and add vishalkashyap@jabber.org to your roster.
~*~*~*~*~*~*~*~*
I am usually called as Vishal Kashyap
but my Girl friend calls me as Vishal CASH UP.
This is because others know me because of my generosity
and my Girlfriend knows me because of my CASH.
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*




view thread (3+ messages)

Message-ID: <400CBC3B.9030902@sancharnet.in>
Permalink:  ../400CBC3B.9030902@sancharnet.in/
Also on:    postgresql.org/message-id/400CBC3B.9030902@sancharnet.in

 · 

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: sank89@sancharnet.in, jack.kerkhof@guest-tek.com
  Subject: Re: Trigger to identify which column(s) updated
  In-Reply-To: <400CBC3B.9030902@sancharnet.in>

* 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