pgsql: Fix failure with textual partition hash keys. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix failure with textual partition hash keys.
Date
Msg-id E1hG8VV-0000NT-U2@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix failure with textual partition hash keys.

Commit 5e1963fb7 overlooked two places in partbounds.c that now
need to pass a collation identifier to the hash functions for
a partition key column.

Amit Langote, per report from Jesper Pedersen

Discussion: https://postgr.es/m/a620f85a-42ab-e0f3-3337-b04b97e2e2f5@redhat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4b40e44f07c727c7a82b291d3b60098dd99f3f64

Modified Files
--------------
src/backend/partitioning/partbounds.c   | 28 +++++++++++++++-------------
src/test/regress/expected/hash_part.out | 14 ++++++++++++++
src/test/regress/sql/hash_part.sql      | 10 ++++++++++
3 files changed, 39 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Avoid possible regression test instability in timestamp.sql.
Next
From: Tomas Vondra
Date:
Subject: pgsql: Fix pg_mcv_list deserialization