Fix _bt_allequalimage() call within critical section.
_bt_allequalimage() does complicated things, so it's not OK to call it
in a critical section. Per buildfarm failure on 'prion', which uses
-DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE options.
Discussion: https://www.postgresql.org/message-id/6e5bbc08-cdfc-b2b3-9e23-1a914b9850a9@iki.fi
Backpatch-through: 16, like commit ccadf73163 that introduced this
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bf8bf6d0bddbbaa9dc6c27b383f026273064d2a2
Modified Files
--------------
src/backend/access/nbtree/nbtree.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)