Add code to test for unknown timezone names (following some ideas from

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6d7ff848e55bb7173d2db8550fd6617bc05be255
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-05-18T01:06:26Z
Releases: 7.4.1
Add code to test for unknown timezone names (following some ideas from
Ross Reedstrom, a couple months back) and to detect timezones that are
using leap-second timekeeping.  The unknown-zone-name test is pretty
heuristic and ugly, but it seems better than the old behavior of just
switching to GMT given a bad name.  Also make DecodePosixTimezone() a
tad more robust.

Files

PathChange+/−
src/backend/commands/variable.c modified +231 −29
src/backend/utils/adt/datetime.c modified +31 −9
src/include/utils/datetime.h modified +3 −1