- Notifications
You must be signed in to change notification settings - Fork5k
Commit98ec35b
committed
Fix corruption of pg_shdepend when copying deps from template database
Using for a new database a template database with shared dependenciesthat need to be copied over was causing a corruption of pg_shdependbecause of an off-by-one computation error of the index number used forthe values inserted with a slot.Issue introduced bye3931d0. Monitoring the rest of the code, there areno similar mistakes.Reported-by: Sven KlemmAuthor: Aleksander AlekseevReviewed-by: Daniel Gustafsson, Michael PaquierDiscussion:https://postgr.es/m/CAJ7c6TP0AowkUgNL6zcAK-s5HYsVHVBRWfu69FRubPpfwZGM9A@mail.gmail.comBackpatch-through: 141 parentf45dc59 commit98ec35b
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
905 | 905 |
| |
906 | 906 |
| |
907 | 907 |
| |
908 |
| - | |
909 |
| - | |
910 |
| - | |
911 |
| - | |
912 |
| - | |
913 |
| - | |
914 |
| - | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
915 | 915 |
| |
916 | 916 |
| |
917 | 917 |
| |
|
0 commit comments
Comments
(0)