pgsql: Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf.

2025-10-23 Thread Tom Lane
Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf. These two functions expect there to be room to insert another item in the FreePageBtree's array, but their assertions were too weak to guarantee that. This has little practical effect granting that the callers are not buggy, but it seems

pgsql: Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf.

2025-10-23 Thread Tom Lane
Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf. These two functions expect there to be room to insert another item in the FreePageBtree's array, but their assertions were too weak to guarantee that. This has little practical effect granting that the callers are not buggy, but it seems

pgsql: Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf.

2025-10-23 Thread Tom Lane
Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf. These two functions expect there to be room to insert another item in the FreePageBtree's array, but their assertions were too weak to guarantee that. This has little practical effect granting that the callers are not buggy, but it seems

pgsql: Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf.

2025-10-23 Thread Tom Lane
Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf. These two functions expect there to be room to insert another item in the FreePageBtree's array, but their assertions were too weak to guarantee that. This has little practical effect granting that the callers are not buggy, but it seems

pgsql: Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf.

2025-10-23 Thread Tom Lane
Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf. These two functions expect there to be room to insert another item in the FreePageBtree's array, but their assertions were too weak to guarantee that. This has little practical effect granting that the callers are not buggy, but it seems

pgsql: Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf.

2025-10-23 Thread Tom Lane
Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf. These two functions expect there to be room to insert another item in the FreePageBtree's array, but their assertions were too weak to guarantee that. This has little practical effect granting that the callers are not buggy, but it seems

pgsql: Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf.

2025-10-23 Thread Tom Lane
Fix off-by-one Asserts in FreePageBtreeInsertInternal/Leaf. These two functions expect there to be room to insert another item in the FreePageBtree's array, but their assertions were too weak to guarantee that. This has little practical effect granting that the callers are not buggy, but it seems