pgsql: Fix bug for array-formatted identities of user mappings

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug for array-formatted identities of user mappings
Date: 2015-03-25 17:29:16
Message-ID: E1Yap7E-0003a7-Lh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix bug for array-formatted identities of user mappings

I failed to realize that server names reported in the object args array
would get quoted, which is wrong; remove that, making sure that it's
only quoted in the string-formatted identity.

This bug was introduced by my commit cf34e373, which was backpatched,
but since object name/args arrays are new in commit a676201490c8, there
is no need to backpatch this any further.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b3196e65f5bfc997ec7fa3f91645a09289c10dee

Modified Files
--------------
src/backend/catalog/objectaddress.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2015-03-25 18:58:15 pgsql: Add OID output argument to DefineTSConfiguration
Previous Message Alvaro Herrera 2015-03-25 17:17:40 pgsql: Fix gram.y comment to match reality