forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcd3e007
committed
Allow unrecognized encoding names in locales, as long as they're the same.
The buildfarm says commit5827472 doesn'twork so well on Windows. This is because the encoding part of Windowslocale names can be just a code page number, eg "1252", which we don'tconsider to be a valid encoding name. Add a check to accept encodingparts that are case-insensitively string equal; this at least ensuresthat the new code doesn't reject any cases that the old code allowed.1 parentdb98b31 commitcd3e007
1 file changed
+8
-2
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
437 | 437 |
| |
438 | 438 |
| |
439 | 439 |
| |
440 |
| - | |
441 |
| - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
442 | 448 |
| |
443 | 449 |
| |
444 | 450 |
| |
|
0 commit comments
Comments
(0)