Re: relispartition for index partitions - Mailing list pgsql-hackers

From Andres Freund
Subject Re: relispartition for index partitions
Date
Msg-id 20180411161123.hg5rlyrlirt3prgh@alap3.anarazel.de
Whole thread Raw
In response to relispartition for index partitions  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: relispartition for index partitions
List pgsql-hackers
Hi,

On 2018-01-26 18:57:03 +0900, Amit Langote wrote:
> 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?

This appears to be a question about
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=8b08f7d4820fd7a8ef6152a9dd8c6e3cb01e5f99
et al.  Could you look into it?  It's been an open item for quite a
while.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: 'make check' fails
Next
From: Alvaro Herrera
Date:
Subject: Re: relispartition for index partitions