| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: Question about timezones |
| Дата | |
| Msg-id | 20041017152831.GC24658@svana.org обсуждение |
| Ответ на | Re: Question about timezones (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
On Fri, Oct 08, 2004 at 09:52:00AM -0400, Tom Lane wrote: > The infrastructure needed for this is finally present in 8.0, ie we have > the timezone data available, but actually teaching AT TIME ZONE about it > didn't get done in time. Likely it will appear in 8.1 (especially if > you step up and do the work ;-)). I've had a look at the code that is in CVS and it looks like everything needed is basically there. I think what's basically needed is a system to keep track of tzname => struct state mappings, probably a hash of some sort. I'd consider creating a timezone preserving type, but it's not necessary for what I'm doing. Is that library already built into 8.0? If that's the case there is an opportunity to create a contrib module that hooks into it. Hmm... -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера