forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita0d87bc
committed
Improve error message on snapshot import in snapmgr.c
When a snapshot file fails to be read in ImportSnapshot(), it wouldissue an ERROR as "invalid snapshot identifier" when opening a streamfor it in read-only mode. This error message is reworded to be the sameas all the other messages used in this case on failure, which is usefulwhen debugging this area.Thinko introduced bybb446b6 where snapshot imports have beenadded. A backpatch down to 11 is done as this can improve any workrelated to snapshot imports in older branches.Author: Bharath RupireddyReviewed-by: Daniel GustafssonDiscussion:https://postgr.es/m/CALj2ACWmr=3KdxDkm8h7Zn1XxBoF6hdzq8WQyMn2y1OL5RYFrg@mail.gmail.comBackpatch-through: 111 parentb8f44a4 commita0d87bc
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1391 | 1391 |
| |
1392 | 1392 |
| |
1393 | 1393 |
| |
1394 |
| - | |
1395 |
| - | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
1396 | 1397 |
| |
1397 | 1398 |
| |
1398 | 1399 |
| |
|
0 commit comments
Comments
(0)