pgsql: Add tests for date_part of epoch near upper bound of timestamp r - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Add tests for date_part of epoch near upper bound of timestamp r
Date
Msg-id E1lRKfh-0002uh-GU@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

Previous
From: Stephen Frost
Date:
Subject: pgsql: Use a WaitLatch for vacuum/autovacuum sleeping
Next
From: Bruce Momjian
Date:
Subject: pgsql: In messages, use singular nouns for -1, like we do for +1.