forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc9c401a
committed
Improve error messages for some callers of XLogReadRecord()
A couple of code paths related to logical decoding (WAL sender, slotadvancing, etc.) use XLogReadRecord(), feeding on error messagesgenerated by walreader.c on a failure. All those messages have nocontext, making it harder to spot from where an error could come even ifthese should not happen. All the other callers of XLogReadRecord() dothat already.Reviewed-by: Kyotaro HoriguchiDiscussion:https://postgr.es/m/YYnTH6OyOwQcAdkw@paquier.xyz1 parent4168a47 commitc9c401a
File tree
4 files changed
+7
-5
lines changed- src/backend/replication
- logical
4 files changed
+7
-5
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
605 | 605 |
| |
606 | 606 |
| |
607 | 607 |
| |
608 |
| - | |
| 608 | + | |
609 | 609 |
| |
610 |
| - | |
| 610 | + | |
611 | 611 |
| |
612 | 612 |
| |
613 | 613 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
276 | 276 |
| |
277 | 277 |
| |
278 | 278 |
| |
279 |
| - | |
| 279 | + | |
280 | 280 |
| |
281 | 281 |
| |
282 | 282 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
529 | 529 |
| |
530 | 530 |
| |
531 | 531 |
| |
532 |
| - | |
| 532 | + | |
| 533 | + | |
533 | 534 |
| |
534 | 535 |
| |
535 | 536 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2979 | 2979 |
| |
2980 | 2980 |
| |
2981 | 2981 |
| |
2982 |
| - | |
| 2982 | + | |
| 2983 | + | |
2983 | 2984 |
| |
2984 | 2985 |
| |
2985 | 2986 |
| |
|
0 commit comments
Comments
(0)