forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd87d548
committed
Refactor to add pg_strcoll(), pg_strxfrm(), and variants.
Offers a generally better separation of responsibilities for collationcode. Also, a step towards multi-lib ICU, which should be based on aclean separation of the routines required for collation providers.Callers with NUL-terminated strings should call pg_strcoll() orpg_strxfrm(); callers with strings and their length should call thevariants pg_strncoll() or pg_strnxfrm().Reviewed-by: Peter Eisentraut, Peter GeogheganDiscussion:https://postgr.es/m/a581136455c940d7bd0ff482d3a2bd51af25a94f.camel%40j-davis.com1 parente996073 commitd87d548
File tree
5 files changed
+871
-391
lines changed- src
- backend
- access/hash
- utils/adt
- include/utils
5 files changed
+871
-391
lines changedLines changed: 34 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
292 | 292 |
| |
293 | 293 |
| |
294 | 294 |
| |
295 |
| - | |
296 |
| - | |
297 |
| - | |
298 |
| - | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
299 | 299 |
| |
300 |
| - | |
| 300 | + | |
| 301 | + | |
301 | 302 |
| |
302 |
| - | |
303 |
| - | |
304 |
| - | |
305 |
| - | |
306 |
| - | |
307 |
| - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
308 | 306 |
| |
309 |
| - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
310 | 313 |
| |
311 | 314 |
| |
312 | 315 |
| |
| |||
350 | 353 |
| |
351 | 354 |
| |
352 | 355 |
| |
353 |
| - | |
354 |
| - | |
355 |
| - | |
356 |
| - | |
357 |
| - | |
358 |
| - | |
359 |
| - | |
360 |
| - | |
361 |
| - | |
362 |
| - | |
363 |
| - | |
364 |
| - | |
365 |
| - | |
366 |
| - | |
367 |
| - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
368 | 375 |
| |
369 | 376 |
| |
370 | 377 |
| |
|
0 commit comments
Comments
(0)