pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: David Rowley <david.rowley@2ndquadrant.com>
Cc: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: pg_indexes doesn't show indexes for partitioned tables - bug or intended?
Date: Wed, 10 Apr 2019 12:04:06 -0400
Message-ID: <20190410160406.GA3406@alvherre.pgsql> (raw)
In-Reply-To: <CAKJS1f8Jp11xrPu35rHMr7Q8GTFwYEKT=YCkJQo7bP0=F8iCUg@mail.gmail.com>

On 2019-Apr-11, David Rowley wrote:

> On Thu, 11 Apr 2019 at 00:39, Thomas Kellerer <spam_eater@gmx.net> wrote:
> >
> > 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.

(You can, of course, adjust the view definition yourself.)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (5+ messages)  latest in thread

Message-ID: <20190410160406.GA3406@alvherre.pgsql>
Permalink:  ../20190410160406.GA3406@alvherre.pgsql/
Also on:    postgresql.org/message-id/20190410160406.GA3406@alvherre.pgsql

 · 

reply

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: alvherre@2ndquadrant.com, david.rowley@2ndquadrant.com, spam_eater@gmx.net
  Subject: Re: pg_indexes doesn't show indexes for partitioned tables - bug or intended?
  In-Reply-To: <20190410160406.GA3406@alvherre.pgsql>
  References: <CAKJS1f8Jp11xrPu35rHMr7Q8GTFwYEKT=YCkJQo7bP0=F8iCUg@mail.gmail.com> <20190410160406.GA3406@alvherre.pgsql>

* 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