Fix backstop in gin test if injection point is not reached
authorHeikki Linnakangas <[email protected]>
Fri, 15 Mar 2024 15:55:12 +0000 (17:55 +0200)
committerHeikki Linnakangas <[email protected]>
Fri, 15 Mar 2024 15:55:12 +0000 (17:55 +0200)
commitd802ff06d0216d59aab3ddba6cb158d1f4b014db
tree6d88b5260f3afbc92ade58785fad9a42fd4b4755
parent85f65d7a26fc24ad9711aa5f1ca7e20ea3ea77e6
Fix backstop in gin test if injection point is not reached

Per Tom Lane's observation that the test got stuck in infinite loop if
the injection_points module was not loaded. It was supposed to give up
after 10000 iterations, but the backstop was broken.

Discussion: https://www.postgresql.org/message-id/2498595.1710511222%40sss.pgh.pa.us
src/test/modules/gin/expected/gin_incomplete_splits.out
src/test/modules/gin/sql/gin_incomplete_splits.sql