- Notifications
You must be signed in to change notification settings - Fork5k
Commit5e6e42e
committed
Force LC_COLLATE to C in postmaster.
Avoid dependence on setlocale().strcoll(), etc., are not called directly; all collation-sensitivecalls should go through pg_locale.c and use the appropriateprovider. By setting LC_COLLATE to C, we avoid accidentally dependingon libc behavior when using a different provider.No behavior change in the backend, but it's possible that someextensions will be affected. Such extensions should be updated to usethe pg_locale_t APIs.Discussion:https://postgr.es/m/9875f7f9-50f1-4b5d-86fc-ee8b03e8c162@eisentraut.orgReviewed-by: Peter Eisentraut <peter@eisentraut.org>1 parent0858f0f commit5e6e42e
File tree
6 files changed
+42
-37
lines changed- doc/src/sgml
- ref
- src/backend
- main
- utils/init
6 files changed
+42
-37
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3158 | 3158 |
| |
3159 | 3159 |
| |
3160 | 3160 |
| |
3161 |
| - | |
| 3161 | + | |
3162 | 3162 |
| |
3163 | 3163 |
| |
3164 | 3164 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
103 |
| - | |
| 103 | + | |
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
|
Lines changed: 23 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
| |||
189 | 189 |
| |
190 | 190 |
| |
191 | 191 |
| |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
197 | 197 |
| |
198 | 198 |
| |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 |
| - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
203 | 202 |
| |
204 | 203 |
| |
205 | 204 |
| |
| |||
208 | 207 |
| |
209 | 208 |
| |
210 | 209 |
| |
211 |
| - | |
212 |
| - | |
213 |
| - | |
214 |
| - | |
| 210 | + | |
215 | 211 |
| |
216 | 212 |
| |
217 | 213 |
| |
218 |
| - | |
219 |
| - | |
220 |
| - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
221 | 222 |
| |
222 | 223 |
| |
223 | 224 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
139 |
| - | |
| 139 | + | |
| 140 | + | |
140 | 141 |
| |
141 | 142 |
| |
142 | 143 |
| |
|
Lines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
125 | 125 |
| |
126 | 126 |
| |
127 | 127 |
| |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
133 | 138 |
| |
134 |
| - | |
135 | 139 |
| |
136 | 140 |
| |
137 | 141 |
| |
|
Lines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
417 | 417 |
| |
418 | 418 |
| |
419 | 419 |
| |
420 |
| - | |
421 |
| - | |
422 |
| - | |
423 |
| - | |
424 |
| - | |
425 |
| - | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
426 | 425 |
| |
427 | 426 |
| |
428 | 427 |
| |
|
0 commit comments
Comments
(0)