pgsql: Add upper boundary tests for timestamp and timestamptz types

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add upper boundary tests for timestamp and timestamptz types
Date: 2021-03-30 06:49:19
Message-ID: E1lR8Bj-0006dK-3L@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bc9f1afdebc98b490d0a00468d75e8e4d080afb0

Modified Files
--------------
src/test/regress/expected/timestamp.out | 13 +++++++++++--
src/test/regress/expected/timestamptz.out | 23 +++++++++++++++++++++--
src/test/regress/sql/timestamp.sql | 5 +++--
src/test/regress/sql/timestamptz.sql | 7 +++++--
4 files changed, 40 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2021-03-30 06:57:11 pgsql: Allow users of simplehash.h to perform direct deletions
Previous Message Amit Kapila 2021-03-30 05:22:13 pgsql: Add a xid argument to the filter_prepare callback for output plu