Add tests for date_part of epoch near upper bound of timestamp range
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 30 Mar 2021 20:05:18 +0000 (22:05 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 30 Mar 2021 20:05:18 +0000 (22:05 +0200)
commit6131ffc43ff3d2f566e93f017e56a09e4e717318
treef8eb72c52cf0acc83c83e5d33239ff6fd4433cde
parent4753ef37e0eda4ba0af614022d18fcbc5a946cc9
Add tests for date_part of epoch near upper bound of timestamp range

This exercises a special case in the implementations of
date_part('epoch', timestamp[tz]) that was previously not tested.
src/test/regress/expected/timestamp.out
src/test/regress/expected/timestamptz.out
src/test/regress/sql/timestamp.sql
src/test/regress/sql/timestamptz.sql