• Tom Lane's avatar
    Rethink behavior of CREATE OR REPLACE during CREATE EXTENSION. · 988cccc6
    Tom Lane authored
    The original implementation simply did nothing when replacing an existing
    object during CREATE EXTENSION.  The folly of this was exposed by a report
    from Marc Munro: if the existing object belongs to another extension, we
    are left in an inconsistent state.  We should insist that the object does
    not belong to another extension, and then add it to the current extension
    if not already a member.
    988cccc6
opclasscmds.c 62.5 KB