pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add upper boundary tests for timestamp and timestamptz types
Date: Tue, 30 Mar 2021 06:49:19 +0000
Message-ID: <E1lR8Bj-0006dK-3L@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1lR8Bj-0006dK-3L@gemulon.postgresql.org>
Permalink:  ../E1lR8Bj-0006dK-3L@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lR8Bj-0006dK-3L@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Add upper boundary tests for timestamp and timestamptz types
  In-Reply-To: <E1lR8Bj-0006dK-3L@gemulon.postgresql.org>
  References: <E1lR8Bj-0006dK-3L@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox