Re: timestamp with/without time zone

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: timestamp with/without time zone
Дата
Msg-id Pine.LNX.4.30.0106202331020.725-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: timestamp with/without time zone  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Ответы Re: timestamp with/without time zone  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Sergio Bruder
Дата:
Сообщение: Re: PHP HOWTO v24.0 released: ADODB connects oracle, pgsql, mysql, sybase..
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: RE: [BUGS] Update is not atomic