forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8b87e92
committed
Fix t_isspace(), etc., when datlocprovider=i and datctype=C.
Check whether the datctype is C to determine whether t_isspace() andrelated functions use isspace() or iswspace().Previously, t_isspace() checked whether the database default collationwas C; which is incorrect when the default collation uses the ICUprovider.Discussion:https://postgr.es/m/79e4354d9eccfdb00483146a6b9f6295202e7890.camel@j-davis.comReviewed-by: Peter EisentrautBackpatch-through: 151 parent2b216da commit8b87e92
File tree
5 files changed
+15
-12
lines changed- src
- backend
- tsearch
- utils
- adt
- init
- include/utils
5 files changed
+15
-12
lines changedLines changed: 5 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 | 41 |
| |
43 | 42 |
| |
44 |
| - | |
| 43 | + | |
45 | 44 |
| |
46 | 45 |
| |
47 | 46 |
| |
| |||
54 | 53 |
| |
55 | 54 |
| |
56 | 55 |
| |
57 |
| - | |
58 | 56 |
| |
59 | 57 |
| |
60 |
| - | |
| 58 | + | |
61 | 59 |
| |
62 | 60 |
| |
63 | 61 |
| |
| |||
70 | 68 |
| |
71 | 69 |
| |
72 | 70 |
| |
73 |
| - | |
74 | 71 |
| |
75 | 72 |
| |
76 |
| - | |
| 73 | + | |
77 | 74 |
| |
78 | 75 |
| |
79 | 76 |
| |
| |||
86 | 83 |
| |
87 | 84 |
| |
88 | 85 |
| |
89 |
| - | |
90 | 86 |
| |
91 | 87 |
| |
92 |
| - | |
| 88 | + | |
93 | 89 |
| |
94 | 90 |
| |
95 | 91 |
| |
| |||
257 | 253 |
| |
258 | 254 |
| |
259 | 255 |
| |
260 |
| - | |
261 | 256 |
| |
262 | 257 |
| |
263 | 258 |
| |
| |||
269 | 264 |
| |
270 | 265 |
| |
271 | 266 |
| |
272 |
| - | |
| 267 | + | |
273 | 268 |
| |
274 | 269 |
| |
275 | 270 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
297 | 297 |
| |
298 | 298 |
| |
299 | 299 |
| |
300 |
| - | |
301 | 300 |
| |
302 | 301 |
| |
303 | 302 |
| |
304 |
| - | |
| 303 | + | |
305 | 304 |
| |
306 | 305 |
| |
307 | 306 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
| 102 | + | |
| 103 | + | |
| 104 | + | |
102 | 105 |
| |
103 | 106 |
| |
104 | 107 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
418 | 418 |
| |
419 | 419 |
| |
420 | 420 |
| |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
421 | 425 |
| |
422 | 426 |
| |
423 | 427 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
| 52 | + | |
| 53 | + | |
52 | 54 |
| |
53 | 55 |
| |
54 | 56 |
| |
|
0 commit comments
Comments
(0)