• Tom Lane's avatar
    Fix handling of extension membership when filling in a shell operator. · 660a081c
    Tom Lane authored
    The previous coding would result in deleting and not re-creating the
    extension membership pg_depend rows, since there was no
    CommandCounterIncrement that would allow recordDependencyOnCurrentExtension
    to see that the deletion had happened.  Make it work like the shell type
    case, ie, keep the existing entries (and then throw an error if they're for
    the wrong extension).
    
    Per bug #6172 from Hitoshi Harada.  Investigation and fix by Dimitri
    Fontaine.
    660a081c
pg_operator.c 24.6 KB