Commit 6197db5
committed
Improve style of some replication-related error messages.
Put the remote end's error message into the primary error string,
instead of relegating it to errdetail(). Although this could end up
being awkward if the remote sends us a really long error message,
it seems more in keeping with our message style guidelines, and more
helpful in situations where the errdetail could get dropped.
Peter Smith
Discussion: https://postgr.es/m/CAHut+Ps-Qv2yQceCwobQDP0aJOkfDzRFrOaR6+2Op2K=WHGeWg@mail.gmail.com1 parent db973ff commit 6197db5
File tree
2 files changed
+9
-12
lines changed- src/backend
- commands
- replication/logical
2 files changed
+9
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
| 1323 | + | |
| 1324 | + | |
1326 | 1325 | | |
1327 | 1326 | | |
1328 | 1327 | | |
1329 | 1328 | | |
1330 | 1329 | | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
| 1330 | + | |
| 1331 | + | |
1334 | 1332 | | |
1335 | 1333 | | |
1336 | 1334 | | |
| |||
1545 | 1543 | | |
1546 | 1544 | | |
1547 | 1545 | | |
1548 | | - | |
1549 | | - | |
| 1546 | + | |
1550 | 1547 | | |
1551 | 1548 | | |
1552 | 1549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | | - | |
1047 | | - | |
| 1046 | + | |
| 1047 | + | |
1048 | 1048 | | |
1049 | 1049 | | |
1050 | 1050 | | |
| |||
1103 | 1103 | | |
1104 | 1104 | | |
1105 | 1105 | | |
1106 | | - | |
1107 | | - | |
| 1106 | + | |
| 1107 | + | |
1108 | 1108 | | |
1109 | 1109 | | |
1110 | 1110 | | |
| |||
0 commit comments