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 test coverage for EXTRACT()
Date: Sun, 14 Jun 2020 06:11:56 +0000
Message-ID: <E1jkLs4-00070Z-5G@gemulon.postgresql.org> (raw)

Add test coverage for EXTRACT()

The variants for time and timetz had zero test coverage, the variant
for interval only very little.  This adds practically full coverage
for those functions.

Reviewed-by: Vik Fearing <vik@postgresfriends.org>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/c3306ac7-fcae-a1b8-1e30-6a379d605bcb%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/378badc8ebebc8fece7a18001f6b876cc00b12c0

Modified Files
--------------
src/test/regress/expected/date.out     | 25 ----------
src/test/regress/expected/interval.out | 84 ++++++++++++++++++++++++++++++++++
src/test/regress/expected/time.out     | 45 ++++++++++++++++++
src/test/regress/expected/timetz.out   | 61 ++++++++++++++++++++++++
src/test/regress/sql/date.sql          |  5 --
src/test/regress/sql/interval.sql      | 32 +++++++++++++
src/test/regress/sql/time.sql          | 13 ++++++
src/test/regress/sql/timetz.sql        | 15 ++++++
8 files changed, 250 insertions(+), 30 deletions(-)



Message-ID: <E1jkLs4-00070Z-5G@gemulon.postgresql.org>
Permalink:  ../E1jkLs4-00070Z-5G@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jkLs4-00070Z-5G@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 test coverage for EXTRACT()
  In-Reply-To: <E1jkLs4-00070Z-5G@gemulon.postgresql.org>
  References: <E1jkLs4-00070Z-5G@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