From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg_indexes doesn't show indexes for partitioned tables - bug or intended?
Date: Wed, 10 Apr 2019 18:20:59 +0200
Message-ID: <d94e406f-a208-a1ff-9204-c025b20e700d@gmx.net> (raw)
In-Reply-To: <CAKJS1f8Jp11xrPu35rHMr7Q8GTFwYEKT=YCkJQo7bP0=F8iCUg@mail.gmail.com>
References: <q8ko5q$3t72$1@blaine.gmane.org>
<CAKJS1f8Jp11xrPu35rHMr7Q8GTFwYEKT=YCkJQo7bP0=F8iCUg@mail.gmail.com>
David Rowley schrieb am 10.04.2019 um 17:57:
>> In Postgres 11.2, indexes defined on partitioned tables do not show up in pg_indexes (the actual indexes for the partitions however do show up).
>
>> Is leaving out the indexes defined on the partitioned table intended or a bug?
>
> Overlooked for PG11. You'll see them in PG12 per [1]. It's not really
> possible to backpatch a fix for that since these views are created
> during initdb.
Thanks.
I don't undertand though why it's not back patched - at least that would fix the bug for new installations
Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: spam_eater@gmx.net
Subject: Re: pg_indexes doesn't show indexes for partitioned tables - bug or intended?
In-Reply-To: <d94e406f-a208-a1ff-9204-c025b20e700d@gmx.net>
References: <q8ko5q$3t72$1@blaine.gmane.org> <CAKJS1f8Jp11xrPu35rHMr7Q8GTFwYEKT=YCkJQo7bP0=F8iCUg@mail.gmail.com> <d94e406f-a208-a1ff-9204-c025b20e700d@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox