pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zsolt Varga <redax@lupus.agria.hu>
To: pgsql-sql@postgresql.org
Subject: TimeStamp for insert/update
Date: Thu, 10 Sep 1998 15:54:52 +0200
Message-ID: <19980910155452.26701@lupus> (raw)


hi!

I don't know is it possible or not, to make 
a filed in any table which contains the insertion/update time
I know
CREATE TABLE ( instime timestamp default now(),.... );
works well for inserts..
but can I do the same for update?

thanks
	redax

ps; or it's a 'rules' question? 
-- 
.----------------------------------------------------------.
|Zsolt Varga            | tel/fax:   +36 36 422811         |
| AgriaComputer LTD     | email:     redax@agria.hu        |
| System Administrator  | URL:       http://www.agria.hu/  |
`----------------------------------------------------------'



Message-ID: <19980910155452.26701@lupus>
Permalink:  ../19980910155452.26701@lupus/
Also on:    postgresql.org/message-id/19980910155452.26701@lupus

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: redax@lupus.agria.hu
  Subject: Re: TimeStamp for insert/update
  In-Reply-To: <19980910155452.26701@lupus>
  References: <19980910155452.26701@lupus>

* 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