Re: Insert a default timestamp when nothing given

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Martin Pohl <Nilpherd(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Insert a default timestamp when nothing given
Date: 2006-01-19 12:53:26
Message-ID: 87acdsv0op.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:

> Not directly. I suppose you could create a view that converted the
> value to the right date on insert.

I think a trigger might make more sense.

-Doug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2006-01-19 12:55:24 Re: Windows re-installation problem
Previous Message Doug McNaught 2006-01-19 12:51:55 Re: mount -o async - is it safe?