Re: relispartition for index partitions

From: Andres Freund <andres(at)anarazel(dot)de>
To: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: relispartition for index partitions
Date: 2018-04-11 16:11:23
Message-ID: 20180411161123.hg5rlyrlirt3prgh@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-04-11 16:14:22 Re: relispartition for index partitions
Previous Message Bruce Momjian 2018-04-11 16:06:42 Re: 'make check' fails