Re: Triggers on columns - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Triggers on columns
Date
Msg-id 20090903171724.GC6378@alvh.no-ip.org
Whole thread Raw
In response to Re: Triggers on columns  (ioguix@free.fr)
List pgsql-hackers
ioguix@free.fr escribió:

> A simple use case would be to update a timestamp column with
> CURRENT_TIMESTAMP as instance.

No, because you want to update the timestamp in all cases, whatever
columns the update actually updates.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: gcc versus division-by-zero traps
Next
From: Josh Berkus
Date:
Subject: Re: community decision-making & 8.5