pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve error reporting in opclasscmds.c
Date: Tue, 31 Mar 2020 14:54:17 +0000
Message-ID: <E1jJIHR-0001qI-U6@gemulon.postgresql.org> (raw)

Improve error reporting in opclasscmds.c

This commit improves error reporting introduced by 911e702077.  It puts
argument of errmsg() to the single line for easier grepping source for error
text.  Also it improves wording of errhint().

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/02a5786df24b12c6379ef1b0375b70b8a9fb4925

Modified Files
--------------
src/backend/commands/opclasscmds.c          | 9 ++++-----
src/test/regress/expected/alter_generic.out | 2 +-
2 files changed, 5 insertions(+), 6 deletions(-)



Message-ID: <E1jJIHR-0001qI-U6@gemulon.postgresql.org>
Permalink:  ../E1jJIHR-0001qI-U6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jJIHR-0001qI-U6@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: akorotkov@postgresql.org
  Subject: Re: pgsql: Improve error reporting in opclasscmds.c
  In-Reply-To: <E1jJIHR-0001qI-U6@gemulon.postgresql.org>
  References: <E1jJIHR-0001qI-U6@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