pgsql: Further harden nbtree posting split code.

2021-10-27 Thread Peter Geoghegan
Further harden nbtree posting split code. Add more defensive checks around posting list split code. These should detect corruption involving duplicate table TIDs earlier and more reliably than any existing check. Follow up to commit 8f72bbac. Discussion: https://postgr.es/m/cah2-wzkrsy_kjyd1_m

pgsql: Further harden nbtree posting split code.

2021-10-27 Thread Peter Geoghegan
Further harden nbtree posting split code. Add more defensive checks around posting list split code. These should detect corruption involving duplicate table TIDs earlier and more reliably than any existing check. Follow up to commit 8f72bbac. Discussion: https://postgr.es/m/cah2-wzkrsy_kjyd1_m

pgsql: Further harden nbtree posting split code.

2021-10-27 Thread Peter Geoghegan
Further harden nbtree posting split code. Add more defensive checks around posting list split code. These should detect corruption involving duplicate table TIDs earlier and more reliably than any existing check. Follow up to commit 8f72bbac. Discussion: https://postgr.es/m/cah2-wzkrsy_kjyd1_m