pgsql: Relax assertion in finding correct GiST parent

2025-04-04 Thread Heikki Linnakangas
Relax assertion in finding correct GiST parent Commit 28d3c2ddcf introduced an assertion that if the memorized downlink location in the insertion stack isn't valid, the parent's LSN should've changed too. Turns out that was too strict. In gistFindCorrectParent(), if we walk right, we update the pa

pgsql: Relax assertion in finding correct GiST parent

2025-04-04 Thread Heikki Linnakangas
Relax assertion in finding correct GiST parent Commit 28d3c2ddcf introduced an assertion that if the memorized downlink location in the insertion stack isn't valid, the parent's LSN should've changed too. Turns out that was too strict. In gistFindCorrectParent(), if we walk right, we update the pa

pgsql: Relax assertion in finding correct GiST parent

2025-04-04 Thread Heikki Linnakangas
Relax assertion in finding correct GiST parent Commit 28d3c2ddcf introduced an assertion that if the memorized downlink location in the insertion stack isn't valid, the parent's LSN should've changed too. Turns out that was too strict. In gistFindCorrectParent(), if we walk right, we update the pa

pgsql: Relax assertion in finding correct GiST parent

2025-04-04 Thread Heikki Linnakangas
Relax assertion in finding correct GiST parent Commit 28d3c2ddcf introduced an assertion that if the memorized downlink location in the insertion stack isn't valid, the parent's LSN should've changed too. Turns out that was too strict. In gistFindCorrectParent(), if we walk right, we update the pa

pgsql: Relax assertion in finding correct GiST parent

2025-04-04 Thread Heikki Linnakangas
Relax assertion in finding correct GiST parent Commit 28d3c2ddcf introduced an assertion that if the memorized downlink location in the insertion stack isn't valid, the parent's LSN should've changed too. Turns out that was too strict. In gistFindCorrectParent(), if we walk right, we update the pa

pgsql: Relax assertion in finding correct GiST parent

2025-04-04 Thread Heikki Linnakangas
Relax assertion in finding correct GiST parent Commit 28d3c2ddcf introduced an assertion that if the memorized downlink location in the insertion stack isn't valid, the parent's LSN should've changed too. Turns out that was too strict. In gistFindCorrectParent(), if we walk right, we update the pa