forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit69e31d0
committed
Improve log messages from pg_import_system_collations().
pg_import_system_collations() was a bit inconsistent about how itreported locales (names output by "locale -a") that it didn't makepg_collation entries for. IMV we should print some suitable messagefor every locale that we reject, except when it matches a pre-existingpg_collation entry. (This is all at DEBUG1 log level, though, so asnot to create noise during initdb.) Add messages for the two casesthat were previously not logged, namely unrecognized encoding andclient-only encoding. Re-word the existing messages to have aconsistent style.Anton Voloshin and Tom LaneDiscussion:https://postgr.es/m/429d64ee-188d-3ce1-106a-53a8b45c4fce@postgrespro.ru1 parent2e4eae8 commit69e31d0
1 file changed
+8
-4
lines changedLines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
576 | 576 |
| |
577 | 577 |
| |
578 | 578 |
| |
579 |
| - | |
| 579 | + | |
580 | 580 |
| |
581 | 581 |
| |
582 | 582 |
| |
| |||
590 | 590 |
| |
591 | 591 |
| |
592 | 592 |
| |
593 |
| - | |
| 593 | + | |
594 | 594 |
| |
595 | 595 |
| |
596 | 596 |
| |
597 | 597 |
| |
598 | 598 |
| |
599 | 599 |
| |
600 |
| - | |
| 600 | + | |
| 601 | + | |
601 | 602 |
| |
602 | 603 |
| |
603 | 604 |
| |
604 |
| - | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
605 | 609 |
| |
606 | 610 |
| |
607 | 611 |
| |
|
0 commit comments
Comments
(0)