pgsql: Fix failure with textual partition hash keys.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix failure with textual partition hash keys.
Date: 2019-04-15 20:47:13
Message-ID: E1hG8VV-0000NT-U2@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2019-04-15 22:03:21 pgsql: Fix pg_mcv_list deserialization
Previous Message Tom Lane 2019-04-15 20:20:16 pgsql: Avoid possible regression test instability in timestamp.sql.