• Robert Haas's avatar
    Further consolidation of DROP statement handling. · fc6d1006
    Robert Haas authored
    This gets rid of an impressive amount of duplicative code, with only
    minimal behavior changes.  DROP FOREIGN DATA WRAPPER now requires object
    ownership rather than superuser privileges, matching the documentation
    we already have.  We also eliminate the historical warning about dropping
    a built-in function as unuseful.  All operations are now performed in the
    same order for all object types handled by dropcmds.c.
    
    KaiGai Kohei, with minor revisions by me
    fc6d1006
operatorcmds.c 13.1 KB