Commit d6e98eb
committed
Improve some error message strings and errcodes
This makes a bit less work for translators, by unifying error strings a
bit more with what the rest of the code does, this time for three error
strings in autoprewarm and one in base backup code.
After some code review of slot.c, some file-access errcodes are reported
but lead to an incorrect internal error, while corrupted data makes the
most sense, similarly to the previous work done in e41d0a1. Also,
after calling rmtree(), a WARNING gets reported, which is a duplicate of
what the internal call report, so make the code more consistent with all
other code paths calling this function.
Author: Michael Paquier
Discussion: https://postgr.es/m/20180902200747.GC1343@paquier.xyz1 parent 17b7c30 commit d6e98eb
File tree
3 files changed
+12
-13
lines changed- contrib/pg_prewarm
- src/backend/replication
3 files changed
+12
-13
lines changed| 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
| 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