• Tom Lane's avatar
    Add a --role option to pg_dump, pg_dumpall, and pg_restore. This allows · b0a6ad70
    Tom Lane authored
    performing dumps and restores in accordance with a security policy that
    forbids logging in directly as superuser, but instead specifies that you
    should log into an admin account and then SET ROLE to the superuser.
    
    In passing, clean up some ugly and mostly-broken code for quoting shell
    arguments in pg_dumpall.
    
    Benedek László, with some help from Tom Lane
    b0a6ad70
pg_dumpall.sgml 17.1 KB