Re: - Automatically insertion - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: - Automatically insertion
Date
Msg-id 20080115085043.GC13369@a-kretschmer.de
Whole thread Raw
In response to - Automatically insertion  (Cedric BUSCHINI <cbuschini@carax.com>)
List pgsql-novice
am  Tue, dem 15.01.2008, um  9:28:45 +0100 mailte Cedric BUSCHINI folgendes:
> Hi All,
>
> Is it possible to set a default values as 'timestamp without time zone'
> in a column ?

Yes, you can use 'default now()' or 'default current_date' or some other
values within the table-definition.

I suggest you should use timestamptz, timestamp WITH timezone.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-novice by date:

Previous
From: Cedric BUSCHINI
Date:
Subject: - Automatically insertion
Next
From: Peter Jackson
Date:
Subject: msaccess to postgre