Updated on 2024-05-07 GMT+08:00

PG_TIMEZONE_NAMES

PG_TIMEZONE_NAMES displays all time zone names that can be recognized by SET TIMEZONE, along with their abbreviations, UTC offsets, and daylight saving time (DST) statuses.

Table 1 PG_TIMEZONE_NAMES columns

Name

Type

Description

name

text

Name of the time zone.

abbrev

text

Abbreviation of the ime zone name.

utc_offset

interval

Offset from UTC.

is_dst

boolean

Specifies whether the DST is being used. If yes, the value is TRUE; otherwise, the value is FALSE.