Re: maybe a type_sanity. sql bug

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: jian he <jian.universality@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-11-12T01:09:02Z
Lists: pgsql-hackers
On Sat, Nov 11, 2023 at 09:38:53AM +0900, Michael Paquier wrote:
> On Sat, Nov 11, 2023 at 08:00:00AM +0800, jian he wrote:
>> diff --git a/src/test/regress/sql/type_sanity.sql b/src/test/regress/sql/type_sanity.sql
>> index a546ba89..6d806941 100644
>> --- a/src/test/regress/sql/type_sanity.sql
>> +++ b/src/test/regress/sql/type_sanity.sql
> 
> Ahah, nice catches.  I'll go adjust that on HEAD like the other one
> you pointed out.  Just note that materialized views have a relam
> defined, so the first comment you have changed is not completely
> correct.

Fixed all that with a9f19c1349c2 for now.
--
Michael

Commits

  1. Fix inconsistencies for queries on pg_class in type_sanity.sql

  2. Allow relkind 'I' in type_sanity test.