バージョンごとのドキュメント一覧

54.32. pg_timezone_names #

The view <structname>pg_timezone_names</structname> provides a list of time zone names that are recognized by <command>SET TIMEZONE</command>, along with their associated abbreviations, UTC offsets, and daylight-savings status. (Technically, <productname>PostgreSQL</productname> does not use UTC because leap seconds are not handled.) Unlike the abbreviations shown in <link linkend="view-pg-timezone-abbrevs"><structname>pg_timezone_abbrevs</structname></link>, many of these names imply a set of daylight-savings transition date rules. Therefore, the associated information changes across local DST boundaries. The displayed information is computed based on the current value of <function>CURRENT_TIMESTAMP</function>. pg_timezone_namesビューは、SET TIMEZONEで認識される時間帯名称の一覧を提供します。 ここには、その関連付けされた省略形、UTCオフセット、夏時間状況などが含まれます。 (PostgreSQLは技術的には、うるう秒を扱いませんので、UTCを使用しません。) pg_timezone_abbrevsで示した省略形とは異なり、名前の多くが夏時間変換規則を意味しています。 したがって、関連する情報はローカルなDST境界によって異なります。 表示される情報は、現在のCURRENT_TIMESTAMPに基づいて計算されたものです。

表54.32 pg_timezone_namesの列

<title><structname>pg_timezone_names</structname> Columns</title>

Column Type 列 型

Description 説明

name text

Time zone name 時間帯名

abbrev text

Time zone abbreviation 時間帯省略形

utc_offset interval

Offset from UTC (positive means east of Greenwich) UTCからのオフセット(正はグリニッジより東側を意味する)

is_dst bool

True if currently observing daylight savings trueの場合は、現在夏時間である