pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Reduce dependency to money data type in main regression test sui
Date: Mon, 15 Jan 2024 00:30:25 +0000
Message-ID: <E1rPArx-001TVD-2m@gemulon.postgresql.org> (raw)

Reduce dependency to money data type in main regression test suite

Most of these tests have been introduced in 6dd8b0080787, to check for
behaviors related to hashing and hash plans, and money is a data type
with btree support but no hash functions.  These tests are switched to
use varbit instead, to provide the same coverage.

Some other tests historically used money but don't really need it for
what they wanted to test (see rules.sql).  Plans and coverage are
unchanged after the modifications done here.

Support for money may be removed a a later point, but this needs more
discussion.

Discussion: https://postgr.es/m/18240-c5da758d7dc1ecf0@postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/31acee4b66f9f88ad5c19c1276252688bdaa95c9

Modified Files
--------------
src/test/regress/expected/hash_func.out       | 18 ++---
src/test/regress/expected/multirangetypes.out |  8 +--
src/test/regress/expected/rangetypes.out      | 10 +--
src/test/regress/expected/rules.out           | 98 +++++++++++++--------------
src/test/regress/expected/stats_ext.out       |  4 +-
src/test/regress/expected/union.out           | 48 ++++++-------
src/test/regress/expected/with.out            |  6 +-
src/test/regress/sql/hash_func.sql            | 10 +--
src/test/regress/sql/multirangetypes.sql      |  2 +-
src/test/regress/sql/rangetypes.sql           |  4 +-
src/test/regress/sql/rules.sql                |  6 +-
src/test/regress/sql/stats_ext.sql            |  4 +-
src/test/regress/sql/union.sql                | 18 ++---
src/test/regress/sql/with.sql                 |  6 +-
14 files changed, 121 insertions(+), 121 deletions(-)



Message-ID: <E1rPArx-001TVD-2m@gemulon.postgresql.org>
Permalink:  ../E1rPArx-001TVD-2m@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rPArx-001TVD-2m@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Reduce dependency to money data type in main regression test sui
  In-Reply-To: <E1rPArx-001TVD-2m@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