Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

Next:From: Peter JacksonDate: 2008-01-15 13:12:40
Subject: msaccess to postgre
Previous:From: Cedric BUSCHINIDate: 2008-01-15 08:28:45
Subject: - Automatically insertion

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group