Re: Timestamp without time zone - Mailing list pgsql-sql

From Vivek Khera
Subject Re: Timestamp without time zone
Date
Msg-id x7n17byur3.fsf@onceler.kciLink.com
Whole thread Raw
Responses Re: Re: Timestamp without time zone
Re: Re: Timestamp without time zone
List pgsql-sql
>>>>> "PS" == Pasi Salminen <pasi.salminen@khf.fi> writes:

PS> I am trying to create table with a field which type is timestamp
PS> and I don't want it to be timestamp with time zone.

This question has been asked at least 4 times since I've been
following this list, including once by me.

Appaarently, nobody seems to have an answer.  The docs imply that type
timstamp is without timezone, since there is a type "timestamp with
timezone".  If you do a "\d tablename" in psql, it shows "timestamp
with timezone" on all your fields you declare as timestamp.  This
leads me to believe that they are silently "upgraded" in their type.

I have a subroutine in my apps that strips the timezone before passing
it along to the users.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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-sql by date:

Previous
From: "Richard Huxton"
Date:
Subject: Re: Getting a specific row from a table
Next
From: "Josh Berkus"
Date:
Subject: Re: search/replace in update