Missing time zone data

Started by PG Bug reporting formover 5 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/view-pg-timezone-names.html
Description:

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.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: Missing time zone data

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