pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Use a consistent error message style for user mappings.
Date: Mon, 20 Mar 2017 20:07:45 +0000
Message-ID: <E1cq3aj-0006Tl-V9@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Use a consistent error message style for user mappings.

User mappings are essentially anonymous, so messages referring to "user
mapping foo on server bar" are wrong, and inconsistent with other error
messages referring to user mappings. To be consistent with existing use,
use "user mapping for foo on server bar" instead.

I dropped the noise word "user" from the original suggestion to be
consistent with other uses.

Discussion: http://postgr.es/m/56c6f8ab-b2d6-f1fa-deb0-1d18cf67f7b9@2ndQuadrant.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/839cb0649a9f595a8534cdf14afbe89efb1757b1

Modified Files
--------------
src/backend/commands/foreigncmds.c         | 8 ++++----
src/test/regress/expected/foreign_data.out | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1cq3aj-0006Tl-V9@gemulon.postgresql.org>
Permalink:  ../E1cq3aj-0006Tl-V9@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cq3aj-0006Tl-V9@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: andrew@dunslane.net
  Subject: Re: pgsql: Use a consistent error message style for user mappings.
  In-Reply-To: <E1cq3aj-0006Tl-V9@gemulon.postgresql.org>
  References: <E1cq3aj-0006Tl-V9@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