Re: - Automatically insertion

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: - Automatically insertion
Date: 2008-01-15 08:50:43
Message-ID: 20080115085043.GC13369@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Peter Jackson 2008-01-15 13:12:40 msaccess to postgre
Previous Message Cedric BUSCHINI 2008-01-15 08:28:45 - Automatically insertion