Re: maybe a type_sanity. sql bug
От | Michael Paquier |
---|---|
Тема | Re: maybe a type_sanity. sql bug |
Дата | |
Msg-id | ZU7NHWIahU4NQcK9@paquier.xyz обсуждение исходный текст |
Ответ на | Re: maybe a type_sanity. sql bug (jian he <jian.universality@gmail.com>) |
Ответы |
Re: maybe a type_sanity. sql bug
|
Список | pgsql-hackers |
On Sat, Nov 11, 2023 at 08:00:00AM +0800, jian he wrote: > I am not sure the pg_class "relam" description part is correct. since > partitioned indexes (relkind "I") also have the access method, but no > storage. > " > If this is a table or an index, the access method used (heap, B-tree, > hash, etc.); otherwise zero (zero occurs for sequences, as well as > relations without storage, such as views) > " This should be adjusted as well in the docs, IMO. I would propose something slightly more complicated: " If this is a table, index, materialized view or partitioned index, the access method used (heap, B-tree, hash, etc.); otherwise zero (zero occurs for sequences, as well as relations without storage, like views). " > 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. -- Michael
Вложения
В списке pgsql-hackers по дате отправления: