Add code to test for unknown timezone names (following some ideas from
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 18 May 2003 01:06:26 +0000 (01:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 18 May 2003 01:06:26 +0000 (01:06 +0000)
commit6d7ff848e55bb7173d2db8550fd6617bc05be255
treea39db987cd628cf218a7261192bbbfd38c4c8eed
parent6d8c774f5593f697425073c2d62eee4b4c6ac84c
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.
src/backend/commands/variable.c
src/backend/utils/adt/datetime.c
src/include/utils/datetime.h