pgsql: Reduce dependency to money data type in main regression test sui - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Reduce dependency to money data type in main regression test sui
Date
Msg-id E1rPArx-001TVD-2m@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Prevent access to an unpinned buffer in BEFORE ROW UPDATE trigge
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Avoid useless ReplicationOriginExitCleanup locking