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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/partitioning/partbounds.c | modified | +15 −13 |
| src/test/regress/expected/hash_part.out | modified | +14 −0 |
| src/test/regress/sql/hash_part.sql | modified | +10 −0 |
Discussion
- COLLATE: Hash partition vs UPDATE 8 messages · 2019-04-08 → 2019-04-16