- Notifications
You must be signed in to change notification settings - Fork28
Commitd5ad7a0
committed
Fix traversing to the deleted GIN page via downlink
Current GIN code appears to don't handle traversing to the deleted page viadownlink. This commit fixes that by stepping right from the delete page likewe do in nbtree.This commit also fixes setting 'deleted' flag to the GIN pages. Now other pageflags are not erased once page is deleted. That helps to keep our assertionstrue if we arrive deleted page via downlink.Discussion:https://postgr.es/m/CAPpHfdvMvsw-NcE5bRS7R1BbvA4BxoDnVVjkXC5W0Czvy9LVrg%40mail.gmail.comAuthor: Alexander KorotkovReviewed-by: Peter GeogheganBackpatch-through: 9.41 parente146411 commitd5ad7a0
File tree
4 files changed
+5
-9
lines changed- src/backend/access/gin
4 files changed
+5
-9
lines changedLines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 | 190 |
| |
198 | 191 |
| |
199 | 192 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
238 | 238 |
| |
239 | 239 |
| |
240 | 240 |
| |
| 241 | + | |
| 242 | + | |
| 243 | + | |
241 | 244 |
| |
242 | 245 |
| |
243 | 246 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
189 |
| - | |
| 189 | + | |
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
500 | 500 |
| |
501 | 501 |
| |
502 | 502 |
| |
503 |
| - | |
| 503 | + | |
504 | 504 |
| |
505 | 505 |
| |
506 | 506 |
| |
|
0 commit comments
Comments
(0)