pgsql: Add tests for date_part of epoch near upper bound of timestamp r

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add tests for date_part of epoch near upper bound of timestamp r
Date: 2021-03-30 20:09:05
Message-ID: E1lRKfh-0002uh-GU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6131ffc43ff3d2f566e93f017e56a09e4e717318

Modified Files
--------------
src/test/regress/expected/timestamp.out | 7 +++++++
src/test/regress/expected/timestamptz.out | 7 +++++++
src/test/regress/sql/timestamp.sql | 3 +++
src/test/regress/sql/timestamptz.sql | 3 +++
4 files changed, 20 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2021-03-30 22:34:39 pgsql: In messages, use singular nouns for -1, like we do for +1.
Previous Message Stephen Frost 2021-03-30 16:54:30 pgsql: Use a WaitLatch for vacuum/autovacuum sleeping