pgsql: Fold FindConversion() into FindConversionByName() and remove ACL - Mailing list pgsql-committers

From rhaas@postgresql.org (Robert Haas)
Subject pgsql: Fold FindConversion() into FindConversionByName() and remove ACL
Date
Msg-id 20100202185233.B32477541B9@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fold FindConversion() into FindConversionByName() and remove ACL check.

All callers of FindConversionByName() already do suitable permissions
checking already apart from this function, but this is not just dead
code removal: the unnecessary permissions check can actually lead to
spurious failures - there's no reason why inability to execute the
underlying function should prohibit renaming the conversion, for example.
(The error messages in these cases were also rather poor:
FindConversion would return InvalidOid, eventually leading to a complaint
that the conversion "did not exist", which was not correct.)

KaiGai Kohei

Modified Files:
--------------
    pgsql/src/backend/catalog:
        namespace.c (r1.121 -> r1.122)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/namespace.c?r1=1.121&r2=1.122)
        pg_conversion.c (r1.48 -> r1.49)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/pg_conversion.c?r1=1.48&r2=1.49)
    pgsql/src/include/catalog:
        pg_conversion_fn.h (r1.5 -> r1.6)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_conversion_fn.h?r1=1.5&r2=1.6)

pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Remove copyright mention of Andrew Yu, per author's permission.
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get