Обсуждение: pgsql: Fix user mapping object description

Поиск
Список
Период
Сортировка

pgsql: Fix user mapping object description

От
Alvaro Herrera
Дата:
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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/74997763486797142c6636dc72c03510477d1e6c

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