Re: Trigger on column

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Trigger on column
Date: 2009-07-20 09:23:56
Message-ID: 20090720092356.GK12162@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

In response to ramasubramanian :
> Dear all,
> Can we create a trigger on particular column of a table?

No, but you can compare OLD.column and NEW.column and return from the
function if NEW.column = OLD.column.

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message ramasubramanian 2009-07-20 10:15:03 Performance of quer or procedure going down when we are taking the backup
Previous Message ramasubramanian 2009-07-20 09:05:31 Trigger on column