Re: 'NOW' in UTC with no timezone

Поиск
Список
Период
Сортировка
От Stuart Bishop
Тема Re: 'NOW' in UTC with no timezone
Дата
Msg-id 416F4E43.1050103@stuartbishop.net
обсуждение исходный текст
Ответ на Re: 'NOW' in UTC with no timezone  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 'NOW' in UTC with no timezone  (jdolecek@NetBSD.org (Jaromir Dolecek))
Список pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Lane wrote:
| Stuart Bishop <stuart@stuartbishop.net> writes:
|
|>How much overhead is there in storing a timestamp with timezone as
|>opposed to one without?
|
|
| Exactly zero.  You have a misconception about what the datatype really
| does --- see other responses in this thread.

Indeed - I was under the impression that the timezone would be preserved
(which is the case in the external datetime libraries I use), but I now
see that PostgreSQL will lose this information.

- --
Stuart Bishop <stuart@stuartbishop.net>
http://www.stuartbishop.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBb05DAfqZj7rGN0oRAnz3AJwLqPBMY1MNxjeXjg/orFWNI4+MrwCfSTyG
wSZ0Hmo6Bg9y6ZgfItJOf3w=
=xSUI
-----END PGP SIGNATURE-----

В списке pgsql-general по дате отправления:

Предыдущее
От: Andreas
Дата:
Сообщение: Re: Is there an opposite to pg_get_userbyid() ?
Следующее
От: jdolecek@NetBSD.org (Jaromir Dolecek)
Дата:
Сообщение: Re: 'NOW' in UTC with no timezone