pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pg_indexes doesn't show indexes for partitioned tables - bug or intended?
Date: Wed, 10 Apr 2019 16:04:51 -0400
Message-ID: <9622.1554926691@sss.pgh.pa.us> (raw)
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>

Thomas Kellerer <spam_eater@gmx.net> writes:
> David Rowley schrieb am 10.04.2019 um 17:57:
>> 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.

> I don't undertand though why it's not back patched - at least that would fix the bug for new installations

David overstated the situation --- it'd be *possible* to back-patch a
fix for that, if we thought that the bug was of sufficient importance.
But the costs of such changes are way way higher than "change a couple
of lines in system_views.sql".  We would also have to write documentation
about how to fix it manually, along the lines of the first bullet point in
[1], and then users would either have to jump through that hoop or decide
that it wasn't worth it to them (which it wouldn't be, for most).  And,
having different behaviors in different "v11" installations is not really
all that nice, especially for something that's only debatably a bug.
So I concur with the decision not to back-patch.

			regards, tom lane

[1] https://www.postgresql.org/docs/9.6/release-9-6-5.html





view thread (5+ messages)

Message-ID: <9622.1554926691@sss.pgh.pa.us>
Permalink:  ../9622.1554926691@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9622.1554926691@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, spam_eater@gmx.net
  Subject: Re: pg_indexes doesn't show indexes for partitioned tables - bug or intended?
  In-Reply-To: <9622.1554926691@sss.pgh.pa.us>
  References: <q8ko5q$3t72$1@blaine.gmane.org> <CAKJS1f8Jp11xrPu35rHMr7Q8GTFwYEKT=YCkJQo7bP0=F8iCUg@mail.gmail.com> <d94e406f-a208-a1ff-9204-c025b20e700d@gmx.net> <9622.1554926691@sss.pgh.pa.us>

* 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