Fix query checking consistency of table amhandlers in opr_sanity.sql
authorMichael Paquier <michael@paquier.xyz>
Wed, 22 Nov 2023 00:32:35 +0000 (09:32 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 22 Nov 2023 00:32:35 +0000 (09:32 +0900)
commit3dadeef5d9ffe94deac926d7266a2ec64795e159
tree6a2317d64c85804d8721fc9b7991649bb6b22c4e
parent9dd50e92ed239bc4643c1df7e9e0bcc03b05bfef
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
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql