Re: TODO: trigger features

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: TODO: trigger features
Date: 2003-08-05 19:04:53
Message-ID: 11664.1060110293@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
> - Implement a way to enable triggers to check which columns are affected
> by the triggering statement.

This can already be done by comparing old and new values, no?

I don't have a lot of sympathy for the idea that checking what the
original UPDATE touched is a good shortcut. Rules or previous triggers
might have changed additional columns.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2003-08-05 19:15:55 Re: TODO: trigger features
Previous Message Tom Lane 2003-08-05 19:02:10 Re: this is in plain text (row level locks)