Fix query checking consistency of table amhandlers in opr_sanity.sql

Michael Paquier <michael@paquier.xyz>

Commit: 43bbaa83f95cd5f66e556ca521b7c22d80be571d
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-11-22T00:32:32Z
Releases: 16.2
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