Fix inconsistencies for queries on pg_class in type_sanity.sql
authorMichael Paquier <michael@paquier.xyz>
Sun, 12 Nov 2023 01:06:51 +0000 (10:06 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sun, 12 Nov 2023 01:06:51 +0000 (10:06 +0900)
commita9f19c1349c22819038842a0debba2c86b4832b8
treeb38616f8cfca3f5608cbbd90aeb0a4c53699fc48
parentb7f315c9d7d839dda847b10d170ffec7c3f4dbba
Fix inconsistencies for queries on pg_class in type_sanity.sql

Three queries did not consider partitioned indexes and tables, and
surrounding comments have not been updated in a while.

Like 4b9fbd6be442, this is only cosmetic currently as no such relkinds
exist at this stage of the regression tests, but running these queries
on existing clusters could lead to incorrect results.

Author: Jian He, Michael Paquier
Discussion: https://postgr.es/m/CACJufxGsB1ciahkNDccyxhw-Pfp_-_y+Wx+1BOdRyVVxKojAbg@mail.gmail.com
src/test/regress/expected/type_sanity.out
src/test/regress/sql/type_sanity.sql