pgsql: Improve error reporting in opclasscmds.c

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve error reporting in opclasscmds.c
Date: 2020-03-31 14:54:17
Message-ID: E1jJIHR-0001qI-U6@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-03-31 15:14:55 pgsql: Fix lquery's NOT handling, and add ability to quantify non-'*' i
Previous Message Magnus Hagander 2020-03-31 14:00:37 pgsql: Fix assorted typos