forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5a6eea0
committed
Add missing check_collation_set call to bpcharne().
We should throw an error for indeterminate collation, but bpcharne()was missing that logic, resulting in a much less user-friendly error(either an assertion failure or "cache lookup failed for collation 0").Per report from Manuel Rigger. Back-patch to v12 where the mistakecame in, evidently in commit5e1963f. (Before non-deterministiccollations, this function wasn't collation sensitive.)Discussion:https://postgr.es/m/CA+u7OA4HOjtymxAbuGNh4-X_2R0Lw5n01tzvP8E5-i-2gQXYWA@mail.gmail.com1 parent99cc47b commit5a6eea0
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
785 | 785 |
| |
786 | 786 |
| |
787 | 787 |
| |
| 788 | + | |
| 789 | + | |
788 | 790 |
| |
789 | 791 |
| |
790 | 792 |
| |
|
0 commit comments
Comments
(0)