non-timezoned timestamp column? - Mailing list pgsql-general

From Vivek Khera
Subject non-timezoned timestamp column?
Date
Msg-id x7k840dipq.fsf@onceler.kciLink.com
Whole thread Raw
List pgsql-general
How can one make a non-time zoned timestamp column?  I tried this:

create table t1 (
        ts timestamp not null default 'NOW()',
        tt timestamp without time zone not null default 'NOW()'
);

but both come up with a time zone.  The docs only refer to "timestamp"
and "timestamp with time zone", so one would assume that the default
is without, but apparently it is not.

I'm using Pg 7.1 on FreeBSD 4.3.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Minor documentation bug
Next
From: Chris Hayner
Date:
Subject: making with ssl support