Re: Problem handling timezones
| От | Tom Lane |
|---|---|
| Тема | Re: Problem handling timezones |
| Дата | |
| Msg-id | 1593.1042671357@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Problem handling timezones ("Claudio Lapidus" <clapidus@ta.telecom.com.ar>) |
| Ответы |
Re: Problem handling timezones
|
| Список | pgsql-general |
"Claudio Lapidus" <clapidus@ta.telecom.com.ar> writes:
> FWIW, I browsed the source tree and found that "art" is already defined in
> datetime.c and appears to be included:
> $ grep -in '"ART"' /opt/pgsql/src/postgresql-7.3/src/backend/utils/adt/datetime.c
> 119: {"art", TZ, NEG(12)}, /* Argentina Time */
> But it doesn't work, as shown above. Any hints?
Good catch. I think the problem is that ART is out of order in the table,
so it's not being found by the binary-search algorithm. Put it in
correct alphabetical order relative to the other entries, and I bet it
will work.
regards, tom lane
В списке pgsql-general по дате отправления: