• Stephen Frost's avatar
    Do not DROP default roles in pg_dumpall -c · 018eb027
    Stephen Frost authored
    When pulling the list of roles to drop, exclude roles whose names
    begin with "pg_" (as we do when we are dumping the roles out to
    recreate them).
    
    Also add regression tests to cover pg_dumpall -c and this specific
    issue.
    
    Noticed by Rushabh Lathia.  Patch by me.
    018eb027
pg_dumpall.c 60.5 KB