• Stephen Frost's avatar
    In pg_dump, split "dump" into "dump" and "dump_contains" · d217b2c3
    Stephen Frost authored
    Historically, the "dump" component of the namespace has been used
    to decide if the objects inside of the namespace should be dumped
    also.  Given that "dump" is now a bitmask and may be partial, and
    we may want to dump out all components of the namespace object but
    only some of the components of objects contained in the namespace,
    create a "dump_contains" bitmask which will represent what components
    of the objects inside of a namespace should be dumped out.
    
    No behavior change here, but in preparation for a change where we
    will dump out just the ACLs of objects in pg_catalog, but we might
    not dump out the ACL of the pg_catalog namespace itself (for instance,
    when it hasn't been changed from the value set at initdb time).
    
    Reviews by Alexander Korotkov, Jose Luis Tallon
    d217b2c3
pg_dump.h 18.2 KB