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:19:11
Message-ID: 3A87562F.7591A03D@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!

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-02-12 04:10:47 Re: Simulating LIMIT/OFFSET in a subquery
Previous Message Dave Wedwick 2001-02-12 03:12:59 Trigger question