]> granicus.if.org Git - postgresql/commit
Fix failure with textual partition hash keys.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 15 Apr 2019 20:47:09 +0000 (16:47 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 15 Apr 2019 20:47:09 +0000 (16:47 -0400)
commit4b40e44f07c727c7a82b291d3b60098dd99f3f64
treead519fb91fbcdad32a7d2ab5ce1018ad1181a6b1
parent47169c25500a70a7d04076860717f2f4f0ea83a7
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
src/backend/partitioning/partbounds.c
src/test/regress/expected/hash_part.out
src/test/regress/sql/hash_part.sql