]> granicus.if.org Git - postgresql/commit
Fix user mapping object description
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 5 Mar 2015 21:03:16 +0000 (18:03 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 5 Mar 2015 21:03:16 +0000 (18:03 -0300)
commitcf34e373fcf42239a73f36e3054d9e9fbdc1e0de
treeacbea2046aed94d2318cbf72262bc601742f1a3c
parentbf22d2707a2f47a7cc4caa239a14f2bf0a72bfd0
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.
src/backend/catalog/objectaddress.c
src/test/regress/expected/foreign_data.out