relispartition for index partitions

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: relispartition for index partitions
Date: 2018-01-26 09:57:03
Message-ID: 12085bc4-0bc6-0f3a-4c43-57fe0681772b@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi.

I noticed that relispartition isn't set for index's partitions.

create table p (a int) partition by list (a);
create table p12 partition of p for values in (1, 2);
create index on p (a);
select relname, relkind from pg_class where relnamespace =
'public'::regnamespace and relispartition is true;
relname | relkind
---------+---------
p12 | r
(1 row)

Is that intentional?

Thanks,
Amit

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2018-01-26 10:00:43 Re: [Sender Address Forgery]Re: pg_(total_)relation_size and partitioned tables
Previous Message Laurenz Albe 2018-01-26 09:56:58 Re: \describe*