pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix confusing NOTICE text in REINDEX CONCURRENTLY
Date: Wed, 05 Jun 2019 09:06:14 +0000
Message-ID: <E1hYRs6-0001IP-Uk@gemulon.postgresql.org> (raw)

Fix confusing NOTICE text in REINDEX CONCURRENTLY

When performing REINDEX TABLE CONCURRENTLY, if all of the table's indexes
could not be reindexed, a NOTICE message claimed that the table had no
indexes.  This was confusing, so let's change the NOTICE text to something
less confusing.

In passing, also mention in the comment before ReindexRelationConcurrently
that materialized views are supported too and also explain what the return
value of the function means.

Author: Ashwin Agrawal
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/CALfoeithHvi13p_VyR8kt9o6Pa7Z=Smi6Nfc2anHnQx5Lj8bTQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e24a815c1c8550fcba5cc5aeb0d130db46570872

Modified Files
--------------
src/backend/commands/indexcmds.c           | 35 +++++++++++++++++++++---------
src/test/regress/expected/create_index.out | 10 ++++-----
2 files changed, 30 insertions(+), 15 deletions(-)



Message-ID: <E1hYRs6-0001IP-Uk@gemulon.postgresql.org>
Permalink:  ../E1hYRs6-0001IP-Uk@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hYRs6-0001IP-Uk@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: drowley@postgresql.org
  Subject: Re: pgsql: Fix confusing NOTICE text in REINDEX CONCURRENTLY
  In-Reply-To: <E1hYRs6-0001IP-Uk@gemulon.postgresql.org>
  References: <E1hYRs6-0001IP-Uk@gemulon.postgresql.org>

* 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