Add upper boundary tests for timestamp and timestamptz types
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 30 Mar 2021 06:46:34 +0000 (08:46 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 30 Mar 2021 06:46:34 +0000 (08:46 +0200)
commitbc9f1afdebc98b490d0a00468d75e8e4d080afb0
treea790e9c8ecb536e28e6fba58be50d87b3fc1620c
parentf64ea6dc5c8ccaec9a3d3d39695ca261febb6883
Add upper boundary tests for timestamp and timestamptz types

The existing regression tests only tested the lower boundary of the
range supported by the timestamp and timestamptz types because "The
upper boundary differs between integer and float timestamps, so no
check".  Since this is obsolete, add similar tests for the upper
boundary.
src/test/regress/expected/timestamp.out
src/test/regress/expected/timestamptz.out
src/test/regress/sql/timestamp.sql
src/test/regress/sql/timestamptz.sql