• Alvaro Herrera's avatar
    Fix opclass/opfamily identity strings · 9c7dd350
    Alvaro Herrera authored
    The original representation uses "opcname for amname", which is good
    enough; but if we replace "for" with "using", we can apply the returned
    identity directly in a DROP command, as in
    
    DROP OPERATOR CLASS opcname USING amname
    
    This slightly simplifies code using object identities to programatically
    execute commands on these kinds of objects.
    
    Note backwards-incompatible change:
    The previous representation dates back to 9.3 when object identities
    were introduced by commit f8348ea3, but we don't want to change the
    behavior on released branches unnecessarily and so this is not
    backpatched.
    9c7dd350
object_address.out 28 KB