pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Minor error message enhancement
Date: Wed, 20 Aug 2025 16:18:58 +0000
Message-ID: <E1uolWb-000qDh-2c@gemulon.postgresql.org> (raw)

Minor error message enhancement

In refuseDupeIndexAttach(), change from

    errdetail("Another index is already attached for partition \"%s\"."...)

to

    errdetail("Another index \"%s\" is already attached for partition \"%s\"."...)

so we can easily understand which index is already attached for
partition \"%s\".

Author: Jian He <jian.universality@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://www.postgresql.org/message-id/flat/CACJufxGBfykJ_1ztk9T%2BL_gLmkOSOF%2BmL9Mn4ZPydz-rh%3DLccQ...

Branch
------
master

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

Modified Files
--------------
src/backend/commands/tablecmds.c       | 3 ++-
src/test/regress/expected/indexing.out | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)



Message-ID: <E1uolWb-000qDh-2c@gemulon.postgresql.org>
Permalink:  ../E1uolWb-000qDh-2c@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uolWb-000qDh-2c@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Minor error message enhancement
  In-Reply-To: <E1uolWb-000qDh-2c@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