On Wed, 11 Aug 2004, Prabu Subroto wrote:
> How is the behaviour of the timestamp on postgres? I
It's pretty much just a plain datatype.
> have define the datatype of the column with
> "timestamp" but each time I inserted a new record into
> the table than the timestamp column (with datatype
> "timestamp") stays empty.
>
> How can I make the postgres complete the value of the
> timestamp field automatically?
If you want insert time setting, you can use a default
clause on the column.
If you want update time modification, you can write a
before trigger that updates the column.