pgsql: Fix user mapping object description

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix user mapping object description
Date: 2015-03-05 21:03:45
Message-ID: E1YTcvp-00027F-18@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix user mapping object description

We were using "user mapping for user XYZ" as description for user mappings, but
that's ambiguous because users can have mappings on multiple foreign
servers; therefore change it to "for user XYZ on server UVW" instead.
Object identities for user mappings are also updated in the same way, in
branches 9.3 and above.

The incomplete description string was introduced together with the whole
SQL/MED infrastructure by commit cae565e503 of 8.4 era, so backpatch all
the way back.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8167ef8e2cd4e3c4c875ed5d29f40cf9cc4c88e5

Modified Files
--------------
src/backend/catalog/dependency.c | 10 ++++++++--
src/test/regress/expected/foreign_data.out | 24 ++++++++++++------------
2 files changed, 20 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2015-03-06 01:53:14 Re: pgsql: Fix user mapping object description
Previous Message Alvaro Herrera 2015-03-05 19:13:03 pgsql: Silence warning in non-assert-enabled build