pgsql: Fix failure with textual partition hash keys.
pgsql: Fix failure with textual partition hash keys.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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(-)