pgsql: Fix btmarkpos/btrestrpos array key wraparound bug.

2023-09-28 Thread Peter Geoghegan
Fix btmarkpos/btrestrpos array key wraparound bug. nbtree's mark/restore processing failed to correctly handle an edge case involving array key advancement and related search-type scan key state. Scans with ScalarArrayScalarArrayOpExpr quals requiring mark/restore processing (for a merge join) cou

pgsql: Fix btmarkpos/btrestrpos array key wraparound bug.

2023-09-28 Thread Peter Geoghegan
Fix btmarkpos/btrestrpos array key wraparound bug. nbtree's mark/restore processing failed to correctly handle an edge case involving array key advancement and related search-type scan key state. Scans with ScalarArrayScalarArrayOpExpr quals requiring mark/restore processing (for a merge join) cou

pgsql: Fix btmarkpos/btrestrpos array key wraparound bug.

2023-09-28 Thread Peter Geoghegan
Fix btmarkpos/btrestrpos array key wraparound bug. nbtree's mark/restore processing failed to correctly handle an edge case involving array key advancement and related search-type scan key state. Scans with ScalarArrayScalarArrayOpExpr quals requiring mark/restore processing (for a merge join) cou

pgsql: Fix btmarkpos/btrestrpos array key wraparound bug.

2023-09-28 Thread Peter Geoghegan
Fix btmarkpos/btrestrpos array key wraparound bug. nbtree's mark/restore processing failed to correctly handle an edge case involving array key advancement and related search-type scan key state. Scans with ScalarArrayScalarArrayOpExpr quals requiring mark/restore processing (for a merge join) cou

pgsql: Fix btmarkpos/btrestrpos array key wraparound bug.

2023-09-28 Thread Peter Geoghegan
Fix btmarkpos/btrestrpos array key wraparound bug. nbtree's mark/restore processing failed to correctly handle an edge case involving array key advancement and related search-type scan key state. Scans with ScalarArrayScalarArrayOpExpr quals requiring mark/restore processing (for a merge join) cou

pgsql: Fix btmarkpos/btrestrpos array key wraparound bug.

2023-09-28 Thread Peter Geoghegan
Fix btmarkpos/btrestrpos array key wraparound bug. nbtree's mark/restore processing failed to correctly handle an edge case involving array key advancement and related search-type scan key state. Scans with ScalarArrayScalarArrayOpExpr quals requiring mark/restore processing (for a merge join) cou

pgsql: Fix btmarkpos/btrestrpos array key wraparound bug.

2023-09-28 Thread Peter Geoghegan
Fix btmarkpos/btrestrpos array key wraparound bug. nbtree's mark/restore processing failed to correctly handle an edge case involving array key advancement and related search-type scan key state. Scans with ScalarArrayScalarArrayOpExpr quals requiring mark/restore processing (for a merge join) cou