Using role priviledges for pg_dump

From: Bill Moran <wmoran(at)collaborativefusion(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Using role priviledges for pg_dump
Date: 2008-05-16 19:44:58
Message-ID: 20080516154458.1602bea1.wmoran@collaborativefusion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Given:

CREATE ROLE joe WITH LOGIN;
CREATE ROLE dumpable;
ALTER GROUP dumpable ADD USER joe;

If I have a database called db1 to which the role dumpable has enough
permissions to do a full pg_dump, but he user joe does not, how can
joe do a pg_dump? Is it possible?

--
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

wmoran(at)collaborativefusion(dot)com
Phone: 412-422-3463x4023

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vitaliyi 2008-05-16 19:56:30 SSL auth problem
Previous Message Michael P. Soulier 2008-05-16 19:06:25 transaction logging