pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vivek Khera <khera@kcilink.com>
To: pgsql-sql@postgresql.org
Subject: Re: Timestamp without time zone
Date: 14 Jun 2001 10:57:20 -0400
Message-ID: <x7n17byur3.fsf@onceler.kciLink.com> (raw)
References: <9g9rdu$1k3q$1@news.tht.net>

>>>>> "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/



view thread (8+ messages)  latest in thread

Message-ID: <x7n17byur3.fsf@onceler.kciLink.com>
Permalink:  ../x7n17byur3.fsf@onceler.kciLink.com/
Also on:    postgresql.org/message-id/x7n17byur3.fsf@onceler.kciLink.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: khera@kcilink.com
  Subject: Re: Timestamp without time zone
  In-Reply-To: <x7n17byur3.fsf@onceler.kciLink.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox