diff options
author | Stephen Frost <sfrost@snowman.net> | 2016-05-24 23:31:55 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2016-05-24 23:31:55 -0400 |
commit | 018eb027f181234be7a580e9502c40ac5ad04f77 (patch) | |
tree | bf4afc4e1a3fa1193154b583c1dd681128bd25cf /src/bin/pg_dump/pg_backup_utils.c | |
parent | f5e7b2f910b7cdb51b7369c76627998432ab6821 (diff) | |
download | postgresql-018eb027f181234be7a580e9502c40ac5ad04f77.tar.gz postgresql-018eb027f181234be7a580e9502c40ac5ad04f77.zip |
Do not DROP default roles in pg_dumpall -c
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.
Diffstat (limited to 'src/bin/pg_dump/pg_backup_utils.c')
0 files changed, 0 insertions, 0 deletions