pgsql: Reduce dependency to money data type in main regression test sui

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Reduce dependency to money data type in main regression test sui
Date: 2024-01-15 00:30:25
Message-ID: E1rPArx-001TVD-2m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2024-01-15 12:03:03 pgsql: Avoid useless ReplicationOriginExitCleanup locking
Previous Message Tom Lane 2024-01-14 17:38:51 pgsql: Prevent access to an unpinned buffer in BEFORE ROW UPDATE trigge