pgsql: Use daterange and YMD in without_overlaps tests instead of tsran

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use daterange and YMD in without_overlaps tests instead of tsran
Date: 2024-03-19 09:22:10
Message-ID: E1rmVfe-004ZSr-DC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use daterange and YMD in without_overlaps tests instead of tsrange.

This makes things a lot easier to read, especially when we get to the
FOREIGN KEY tests later.

Author: Paul A. Jungwirth <pj(at)illuminatedcomputing(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mDHcY4_qQ0+noCUVg(at)mail(dot)gmail(dot)com

Branch
------
master

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

Modified Files
--------------
src/test/regress/expected/without_overlaps.out | 76 +++++++++++++-------------
src/test/regress/sql/without_overlaps.sql | 42 +++++++-------
2 files changed, 62 insertions(+), 56 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-03-19 10:01:53 pgsql: Fix misleading comments
Previous Message Peter Eisentraut 2024-03-19 08:55:43 pgsql: Add some UUID support functions