Fix query checking consistency of table amhandlers in opr_sanity.sql

Michael Paquier <michael@paquier.xyz>

Commit: 3dadeef5d9ffe94deac926d7266a2ec64795e159
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-11-22T00:32:35Z
Releases: 14.11
Fix query checking consistency of table amhandlers in opr_sanity.sql

As written, the query checked for an access method of type 's', which is
not an AM type supported in the core code.

Error introduced by 8586bf7ed888.  As this query is not checking what it
should, backpatch all the way down.

Reviewed-by: Aleksander Alekseev
Discussion: https://postgr.es/m/ZVxJkAJrKbfHETiy@paquier.xyz
Backpatch-through: 12

Files

Discussion