Fix backstop in gin test if injection point is not reached

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: d802ff06d0216d59aab3ddba6cb158d1f4b014db
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-03-15T15:55:12Z
Releases: 17.0
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

Files

Discussion