forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5040c96
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 parent7182788 commit5040c96
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
909 | 909 |
| |
910 | 910 |
| |
911 | 911 |
| |
912 |
| - | |
913 |
| - | |
914 |
| - | |
915 |
| - | |
916 |
| - | |
917 |
| - | |
918 |
| - | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
919 | 919 |
| |
920 | 920 |
| |
921 | 921 |
| |
|
0 commit comments
Comments
(0)