pgsql: Improve "user mapping not found" error message

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve "user mapping not found" error message
Date: 2023-11-30 04:41:46
Message-ID: E1r8Yry-007uV0-2v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve "user mapping not found" error message

Display the name of the foreign server for which the user mapping was
not found.

Author: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
Reviewed-by: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Discussion: https://www.postgresql.org/message-id/flat/CAB8KJ=jFzNaeyFtLcTZNOc6fd1+F93pGVLFa-wyt31wn7VNxqQ(at)mail(dot)gmail(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7e5f5177996150bf3845562d00d41d1e1847d7e3

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 4 ++--
src/backend/foreign/foreign.c | 8 ++++++--
2 files changed, 8 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-11-30 05:05:24 pgsql: Remove unused macro
Previous Message Amit Kapila 2023-11-30 04:21:20 pgsql: Fix a test in 003_logical_slots.