Re: timestamp with/without time zone - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: timestamp with/without time zone
Date
Msg-id Pine.LNX.4.30.0106202331020.725-100000@peter.localdomain
Whole thread Raw
In response to Re: timestamp with/without time zone  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Responses Re: timestamp with/without time zone
List pgsql-hackers
Thomas Lockhart writes:

> SQL9x "timestamp" has no notion of time zones. PostgreSQL "timestamp"
> does.

AFAICT, it does not.  The value is stored in UTC (more or less) and is
converted to the local time zone for display.  But a data type is defined
in terms of storage, not display.  In fact, if you use a language binding
that converts PostgreSQL values directly to native data types, then the
time zone never appears.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Sergio Bruder
Date:
Subject: Re: PHP HOWTO v24.0 released: ADODB connects oracle, pgsql, mysql, sybase..
Next
From: Jan Wieck
Date:
Subject: Re: RE: [BUGS] Update is not atomic