forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7ac0f8d
committed
Fix broken hash function hashbpcharextended().
Ignore trailing spaces for non-deterministic collations whenhashing.The previous behavior could lead to tuples falling into the wrongpartitions when hash partitioning is combined with the BPCHAR type anda non-deterministic collation. Fortunately, it did not affect hashindexes, because hash indexes do not use extended hash functions.Decline to backpatch, per discussion.Discussion:https://postgr.es/m/eb83d0ac7b299eb08f9b900dd08a5a0c5d90e517.camel@j-davis.comReviewed-by: Richard Guo, Tom Lane1 parent4c689a6 commit7ac0f8d
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1086 | 1086 |
| |
1087 | 1087 |
| |
1088 | 1088 |
| |
1089 |
| - | |
| 1089 | + | |
1090 | 1090 |
| |
1091 | 1091 |
| |
1092 | 1092 |
| |
|
0 commit comments
Comments
(0)