Re: Can't figure out how to use now() in default for tsrange column (PG 9.2)
От
Chris Bartlett
Тема
Re: Can't figure out how to use now() in default for
tsrange column (PG 9.2)
Дата
Msg-id
p06240806cc2a31e90c8c@[192.168.200.4]
Ответ на
Re: Can't figure out how to use now() in default for
tsrange column (PG 9.2) (Daniele Varrazzo)
Список
Дерево обсуждения
Re: Can't figure out how to use now() in default for tsrange column
(PG 9.2) Jasen Betts <jasen@xnet.co.nz>
At 8:35 PM +0100 16/7/12, Daniele Varrazzo wrote:
>Even without this quirk, the problem of mapping timestamps to other
>languages data types could be an even stronger design factor. I've
>personally settled for 9999-12-31 which is python's datetime.max, maps
>ok to doubles and won't create problems for almost 8000 years.
>
>
>-- Daniele
Stephane Faroult ('The Art of SQL') says that dates so far in the
future can throw off query planners. He explains it nicely here:
http://www.youtube.com/watch?v=gu0WJJXgEFM
Interesting discussion, thanks.
Chris
В списке pgsql-general по дате отправления