Fix up timetz input so that a date is required only when the specified

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

Commit: 877f08da14719a1bead6154785ab45714d347998
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-10-18T16:43:14Z
Releases: 8.2.0
Fix up timetz input so that a date is required only when the specified
timezone actually has a daylight-savings rule.  This avoids breaking
cases that used to work because they went through the DecodePosixTimezone
code path.  Per contrib regression failures (mea culpa for not running
those yesterday...).  Also document the already-applied change to allow
GMT offsets up to 14 hours.

Files

PathChange+/−
doc/src/sgml/datatype.sgml modified +7 −16
src/backend/utils/adt/datetime.c modified +40 −6
src/include/pgtime.h modified +2 −1
src/include/utils/datetime.h modified +2 −2
src/timezone/localtime.c modified +26 −1