pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rado Petrik <r.p@szm.sk>
To: pgsql-sql@postgresql.org
Subject: atomatic insert date and time
Date: 15 Apr 2003 10:58:48 +0200
Message-ID: <1050397128.992.41.camel@caj> (raw)

Hi , 


I have column type "timestamptz". 
I need automatic add date and time when create new row.

example.

id | name | dt_created 
---------------------


INSERT INTO table (name) VALUES('test')


id | name |    dt_created 
-------------------------------
 1   test   1980-06-25 11:11-7


thanks. Rado. 




view thread (2+ messages)  latest in thread

Message-ID: <1050397128.992.41.camel@caj>
Permalink:  ../1050397128.992.41.camel@caj/
Also on:    postgresql.org/message-id/1050397128.992.41.camel@caj

 · 

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: r.p@szm.sk
  Subject: Re: atomatic insert date and time
  In-Reply-To: <1050397128.992.41.camel@caj>

* 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