Re: pgsql: Set pg_class.relhassubclass for partitioned indexes - Mailing list pgsql-committers

From Amit Langote
Subject Re: pgsql: Set pg_class.relhassubclass for partitioned indexes
Date
Msg-id 4e562336-f632-2418-7d3d-ab0848df7aba@lab.ntt.co.jp
Whole thread Raw
In response to Re: pgsql: Set pg_class.relhassubclass for partitioned indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On 2018/10/22 11:59, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> Set pg_class.relhassubclass for partitioned indexes
> 
> Seems like this commit should have touched the catalogs.sgml description
> for that column, as well as the pg_class.h comment for it.  Neither of
> those are worded in a way that suggests it could be set for non-table
> relations.

Oops, sorry.

Attached fixes catalog.sgml to say table or index instead of just table.

As for pg_class.h, changing just the following line might seem odd, as
along with the surrounding lines, maybe this really says, "relation has..."

    bool        relhassubclass; /* has (or has had) derived classes */

Thanks,
Amit

Attachment

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Set pg_class.relhassubclass for partitioned indexes
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Set pg_class.relhassubclass for partitioned indexes