Trigger question

From: Dave Wedwick <news(at)wedwick(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Trigger question
Date: 2001-02-12 03:12:59
Message-ID: 3A8754BB.382CBDBE@wedwick.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi!

I have a table with an int4 field called inserttime. Regardless of what
the user enters in this field, I want a trigger to put now() into it.

What's the syntax for the trigger?

Thanks!

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Dave Wedwick 2001-02-12 03:19:11 Trigger question
Previous Message Roberto Mello 2001-02-12 02:40:36 Contributing Documentation to PG