-
+
Data Types
world became somewhat standardized during the 1900's,
but continue to be prone to arbitrary changes, particularly with
respect to daylight-savings rules.
-
PostgreSQL currently supports daylight-savings
- rules over the time period 1902 through 2038 (corresponding to the full
- range of conventional Unix system time). Times outside that range are
- taken to be in standard time> for the selected time zone, no
- matter what part of the year they fall in.
+
PostgreSQL uses the widely-used
+ zoneinfo> time zone database for information about
+ historical time zone rules. For times in the future, the assumption
+ is that the latest known rules for a given time zone will
+ continue to be observed indefinitely far into the future.
pg_timezone_names view (see
linkend="view-pg-timezone-names">).
PostgreSQL uses the widely-used
- zic> time zone data for this purpose, so the same
+ zoneinfo> time zone data for this purpose, so the same
names are also recognized by much other software.
be functionally equivalent to USA East Coast time. When a
daylight-savings zone name is present, it is assumed to be used
according to the same daylight-savings transition rules used in the
- zic> time zone database's posixrules> entry.
+ zoneinfo> time zone database's posixrules> entry.
In a standard
PostgreSQL installation,
posixrules> is the same as US/Eastern>, so
that POSIX-style time zone specifications follow USA daylight-savings
-
+
Date/Time Support
For reference purposes, a standard installation also contains files
Africa.txt>, America.txt>, etc, containing
information about every time zone abbreviation known to be in use
- according to the zic> timezone database. The zone name
+ according to the zoneinfo> timezone database. The zone name
definitions found in these files can be copied and pasted into a custom
configuration file as needed. Note that these files cannot be directly
referenced as timezone_abbreviations> settings, because of
-
+
PostgreSQL>]]>
PostgreSQL> includes its own time zone database,
which it requires for date and time operations. This time zone
- database is in fact compatible with the zic> time zone
+ database is in fact compatible with the zoneinfo> time zone
database provided by many operating systems such as FreeBSD,
Linux, and Solaris, so it would be redundant to install it again.
When this option is used, the system-supplied time zone database