Date column that defaults to 'now'

From: John Siracusa <siracusa(at)mindspring(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Date column that defaults to 'now'
Date: 2004-01-05 21:00:15
Message-ID: BC1F3A8F.7143B%siracusa@mindspring.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How can I create a non-null date column that defaults to 'now' as computed
at the time the row is inserted?

-John

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roderick A. Anderson 2004-01-05 21:12:50 Re: Scripting a new db server setup
Previous Message Rajesh Kumar Mallah 2004-01-05 19:35:52 Re: Announce: Search PostgreSQL related resources