pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add missing error code to "cannot attach index ..." error.
Date: Thu, 28 May 2020 10:29:51 +0000
Message-ID: <E1jeFnL-0003xc-1h@gemulon.postgresql.org> (raw)

Add missing error code to "cannot attach index ..." error.

ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE was used in an ereport with the
same message but different errdetail a few lines earlier, so use that
here as well.

Backpatch-through: 11

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/34301c9c5674919ef2e786f1157b3ced543b02e2

Modified Files
--------------
src/backend/commands/tablecmds.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



view thread (3+ messages)

Message-ID: <E1jeFnL-0003xc-1h@gemulon.postgresql.org>
Permalink:  ../E1jeFnL-0003xc-1h@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jeFnL-0003xc-1h@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: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Add missing error code to "cannot attach index ..." error.
  In-Reply-To: <E1jeFnL-0003xc-1h@gemulon.postgresql.org>
  References: <E1jeFnL-0003xc-1h@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