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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

jmf

Responses

Browse pgsql-novice by date

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