| От | Tom Lane |
|---|---|
| Тема | Re: Date and Time or Timestamp? |
| Дата | |
| Msg-id | 22481.1051717181@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Date and Time or Timestamp? (Josh Berkus <josh@agliodbs.com>) |
| Список | pgsql-novice |
Josh Berkus <josh@agliodbs.com> writes:
> And, on the up side, if the various *nixes fix their time zone behaviour past
> 2037, then Postgres will be automatically fixed as well, yes?
Depends what the new API looks like. I would think that a sane answer
is to redefine time_t as a signed 64-bit value, preserving the 1/1/1970
zero origin, but who knows what the library people will really do?
glibc's recent move to redefine time_t as unsigned (losing support for
all pre-1970 dates) doesn't give me high confidence in their design
sensibility.
In any case you can bet that we'll have some work to do when a better
API is available.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера