forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2864eb9

Amit Kapila
Fix the display of UNKNOWN message type in apply worker.
We include the message type while displaying an error context in theapply worker. Now, while retrieving the message type string if themessage type is unknown we throw an error that will hide the originalerror. So, instead, we need to simply return the string indicating anunknown message type.Reported-by: Ashutosh BapatAuthor: Euler Taveira, Amit KapilaReviewed-by: Ashutosh BapatBackpatch-through: 15Discussion:https://postgr.es/m/CAExHW5suAEDW-mBZt_qu4RVxWZ1vL54-L+ci2zreYWebpzxYsA@mail.gmail.com1 parent3bb8b93 commit2864eb9
File tree
3 files changed
+12
-5
lines changed- src
- backend/replication/logical
- include/replication
3 files changed
+12
-5
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1194 | 1194 |
| |
1195 | 1195 |
| |
1196 | 1196 |
| |
1197 |
| - | |
| 1197 | + | |
1198 | 1198 |
| |
1199 | 1199 |
| |
| 1200 | + | |
| 1201 | + | |
1200 | 1202 |
| |
1201 | 1203 |
| |
1202 | 1204 |
| |
| |||
1239 | 1241 |
| |
1240 | 1242 |
| |
1241 | 1243 |
| |
1242 |
| - | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
1243 | 1250 |
| |
1244 |
| - | |
| 1251 | + | |
1245 | 1252 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2579 | 2579 |
| |
2580 | 2580 |
| |
2581 | 2581 |
| |
2582 |
| - | |
| 2582 | + | |
2583 | 2583 |
| |
2584 | 2584 |
| |
2585 | 2585 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
252 |
| - | |
| 252 | + | |
253 | 253 |
| |
254 | 254 |
|
0 commit comments
Comments
(0)