Re: Missing time zone data

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Missing time zone data
Дата
Msg-id 290841.1606239318@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Missing time zone data  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> pg_timezone_names supposedly has the list of full time zone names (e.g.,
> US/Eastern) used in Postgresql, but all it has is the list of columns for
> the list. The list itself appears to be missing.

Hm, works for me:

regression=# select * from pg_timezone_names;
                  name                  | abbrev | utc_offset | is_dst 
----------------------------------------+--------+------------+--------
 Africa/Accra                           | GMT    | 00:00:00   | f
 Africa/Algiers                         | CET    | 01:00:00   | f
 Africa/Bissau                          | GMT    | 00:00:00   | f
 Africa/Casablanca                      | +01    | 01:00:00   | t
 ... etc etc ...
 W-SU                                   | MSK    | 03:00:00   | f
 Poland                                 | CET    | 01:00:00   | f
 Kwajalein                              | +12    | 12:00:00   | f
 NZ-CHAT                                | +1345  | 13:45:00   | t
(1187 rows)

My guess is you've got an installation problem that prevents PG
from finding the tzdb file tree.  But it's hard to debug that
on the strength of no information about the server configuration.
In any case, I don't think this is a documentation issue ...

            regards, tom lane



В списке pgsql-docs по дате отправления:

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Missing time zone data
Следующее
От: PG Doc comments form
Дата:
Сообщение: Functions should be Functions & Procedures