Re: Timestamp to time_t
От
Kevin Grittner
Тема
Re: Timestamp to time_t
Дата
Msg-id
4AAE3746020000250002AF0C@gw.wicourts.gov
Ответ на
Timestamp to time_t (Scott Mohekey)
Список
Дерево обсуждения
Timestamp to time_t Scott Mohekey <scott.mohekey@telogis.com>
Re: Timestamp to time_t "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Timestamp to time_t Scott Mohekey <scott.mohekey@telogis.com>
Re: Timestamp to time_t "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Timestamp to time_t David Fetter <david@fetter.org>
Re: Timestamp to time_t Tom Lane <tgl@sss.pgh.pa.us>
Re: Timestamp to time_t David Fetter <david@fetter.org>
Re: Timestamp to time_t Tom Lane <tgl@sss.pgh.pa.us>
Re: Timestamp to time_t "David E. Wheeler" <david@kineticode.com>
Re: Timestamp to time_t Tom Lane <tgl@sss.pgh.pa.us>
Re: Timestamp to time_t "David E. Wheeler" <david@kineticode.com>
Re: Timestamp to time_t Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Timestamp to time_t "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Timestamp to time_t Tom Lane <tgl@sss.pgh.pa.us>
Re: Timestamp to time_t "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Timestamp to time_t Andrew Dunstan <andrew@dunslane.net>
Re: Timestamp to time_t Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Timestamp to time_t "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Timestamp to time_t "David E. Wheeler" <david@kineticode.com>
Re: Timestamp to time_t Scott Mohekey <scott.mohekey@telogis.com>
Scott Mohekey wrote: > What is the relationship between Timestamp and TimestampTz? TIMESTAMP WITHOUT TIME ZONE does not identify a moment in time without first associating it with a time zone. When Daylight Saving Time ends, the same TIMESTAMP WITHOUT TIME ZONE values will recur, without any way to distinguish them from those from the previous hour. The only use case I have been able to think of, personally, for TIMESTAMP WITHOUT TIME ZONE is a release date for, say a Harry Potter book or World of Warcraft expansion set, where as the given moment arrives in each time zone, stores in that time zone can begin to sell the given work. I suspect there's probably one or two other valid uses, but most uses are just mistakes, waiting to be exposed. For almost every reasonable use, the right data type is TIMESTAMP WITH TIME ZONE. -Kevin
В списке pgsql-hackers по дате отправления
От: Josh Berkus
Дата: