Skip site navigation (1) Skip section navigation (2)

Automatic date/time

From: Joao Miguel Ferreira <jmf(at)estg(dot)ipvc(dot)pt>
To: pgsql-novice(at)postgresql(dot)org
Subject: Automatic date/time
Date: 2006-03-13 11:19:58
Message-ID: 1142248798.2340.5.camel@sandoval (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Hello all,

is it possible to have Pg automatically insert a Date or Time value on a
record if the INSERT comand does not include one ?

Something similar to AUTO INCREMENT for INTs ?!?!

This way the program that does the INSERT wouldn't have to worry about
the correct Date/Time value nor format....

Any hints ?

Thank you.



pgsql-novice by date

Next:From: Sean DavisDate: 2006-03-13 11:32:35
Subject: Re: Automatic date/time
Previous:From: Qingqing ZhouDate: 2006-03-13 03:02:34
Subject: Re: About Buffer Flushing Function

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group