On 10/23/07, ahnf <[EMAIL PROTECTED]> wrote:
> Whenever a row is updated in a table with a timestamp column. How do I write 
> a trigger to set that timestamp column to now() or the current timestamp?

Straight from the horse's mouth:
http://www.postgresql.org/docs/8.2/static/plpgsql-trigger.html#PLPGSQL-TRIGGER-EXAMPLE

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to