pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Wedwick <news@wedwick.com>
To: pgsql-sql@postgresql.org
Subject: Trigger question
Date: Sun, 11 Feb 2001 20:19:11 -0700
Message-ID: <3A87562F.7591A03D@wedwick.com> (raw)

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!






view thread (14+ messages)  latest in thread

Message-ID: <3A87562F.7591A03D@wedwick.com>
Permalink:  ../3A87562F.7591A03D@wedwick.com/
Also on:    postgresql.org/message-id/3A87562F.7591A03D@wedwick.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: news@wedwick.com
  Subject: Re: Trigger question
  In-Reply-To: <3A87562F.7591A03D@wedwick.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox