Re: 'NOW' in UTC with no timezone - Mailing list pgsql-general

From Stuart Bishop
Subject Re: 'NOW' in UTC with no timezone
Date
Msg-id 416F4E43.1050103@stuartbishop.net
Whole thread Raw
In response to Re: 'NOW' in UTC with no timezone  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 'NOW' in UTC with no timezone
List 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 by date:

Previous
From: Andreas
Date:
Subject: Re: Is there an opposite to pg_get_userbyid() ?
Next
From: jdolecek@NetBSD.org (Jaromir Dolecek)
Date:
Subject: Re: 'NOW' in UTC with no timezone