forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit877b67c
committed
Fix erroneous replay of GIN_UPDATE_META_PAGE WAL records.
A simple thinko in ginRedoUpdateMetapage, namely failing to increment aloop counter, led to inserting records into the last pending-list page inthe wrong order (the opposite of that intended). So far as I can tell,this would not upset the code that eventually flushes pending items intothe main part of the GIN index. But it did break the code that searchedthe pending list for matches, resulting in transient failure to findmatching entries during index lookups, as illustrated in bug #6307 fromMaksym Boguk.Back-patch to 8.4 where the incorrect code was introduced.1 parented0b409 commit877b67c
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
528 | 528 |
| |
529 | 529 |
| |
530 | 530 |
| |
| 531 | + | |
| 532 | + | |
531 | 533 |
| |
532 | 534 |
| |
533 | 535 |
| |
|
0 commit comments
Comments
(0)