Re: pg_dump and roles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Is there a method to dump just the roles from a database, or otherwise
select them, so I can build a script to reload the roles? Otherwise, I
guess I'll just read the tables for each database and build the
security script from that.

from man pg_dumpall:

 -r

 --roles-only
              Dump only roles, no databases or tablespaces.



Eugene


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux