- Notifications
You must be signed in to change notification settings - Fork28
Commitd6e98eb
committed
Improve some error message strings and errcodes
This makes a bit less work for translators, by unifying error strings abit more with what the rest of the code does, this time for three errorstrings in autoprewarm and one in base backup code.After some code review of slot.c, some file-access errcodes are reportedbut lead to an incorrect internal error, while corrupted data makes themost sense, similarly to the previous work done ine41d0a1. Also,after calling rmtree(), a WARNING gets reported, which is a duplicate ofwhat the internal call report, so make the code more consistent with allother code paths calling this function.Author: Michael PaquierDiscussion:https://postgr.es/m/20180902200747.GC1343@paquier.xyz1 parent17b7c30 commitd6e98eb
File tree
3 files changed
+12
-13
lines changed- contrib/pg_prewarm
- src/backend/replication
3 files changed
+12
-13
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
641 | 641 |
| |
642 | 642 |
| |
643 | 643 |
| |
644 |
| - | |
| 644 | + | |
645 | 645 |
| |
646 | 646 |
| |
647 | 647 |
| |
| |||
664 | 664 |
| |
665 | 665 |
| |
666 | 666 |
| |
667 |
| - | |
| 667 | + | |
668 | 668 |
| |
669 | 669 |
| |
670 | 670 |
| |
| |||
684 | 684 |
| |
685 | 685 |
| |
686 | 686 |
| |
687 |
| - | |
| 687 | + | |
688 | 688 |
| |
689 | 689 |
| |
690 | 690 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
333 | 333 |
| |
334 | 334 |
| |
335 | 335 |
| |
336 |
| - | |
| 336 | + | |
337 | 337 |
| |
338 | 338 |
| |
339 | 339 |
| |
|
Lines changed: 8 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
628 | 628 |
| |
629 | 629 |
| |
630 | 630 |
| |
631 |
| - | |
632 |
| - | |
| 631 | + | |
633 | 632 |
| |
634 | 633 |
| |
635 | 634 |
| |
| |||
1132 | 1131 |
| |
1133 | 1132 |
| |
1134 | 1133 |
| |
1135 |
| - | |
1136 |
| - | |
| 1134 | + | |
| 1135 | + | |
1137 | 1136 |
| |
1138 | 1137 |
| |
1139 | 1138 |
| |
| |||
1432 | 1431 |
| |
1433 | 1432 |
| |
1434 | 1433 |
| |
1435 |
| - | |
| 1434 | + | |
1436 | 1435 |
| |
1437 | 1436 |
| |
1438 | 1437 |
| |
1439 | 1438 |
| |
1440 | 1439 |
| |
1441 | 1440 |
| |
1442 |
| - | |
| 1441 | + | |
1443 | 1442 |
| |
1444 | 1443 |
| |
1445 | 1444 |
| |
1446 | 1445 |
| |
1447 | 1446 |
| |
1448 | 1447 |
| |
1449 |
| - | |
| 1448 | + | |
1450 | 1449 |
| |
1451 | 1450 |
| |
1452 | 1451 |
| |
| |||
1496 | 1495 |
| |
1497 | 1496 |
| |
1498 | 1497 |
| |
1499 |
| - | |
1500 |
| - | |
| 1498 | + | |
| 1499 | + | |
1501 | 1500 |
| |
1502 | 1501 |
| |
1503 | 1502 |
| |
|
0 commit comments
Comments
(0)