| From: | Benedek László <laci(at)benedekl(dot)tvnetwork(dot)hu> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: pg_dump roles support |
| Date: | 2008-09-24 22:16:52 |
| Message-ID: | 48DABC54.6030009@benedekl.tvnetwork.hu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hello,
I modified my previous patch supporting the --role option in pg_dump and
pg_dumpall.
The attached patch contains the following things:
- pg_dump and pg_dumpall accepts the --role=rolename parameter, and
sends a SET ROLE
command on their connections
- pg_dumpall passes this option to the called pg_dump process
- pg_dump emits the SET ROLE command into the archive
- sgml documentation of this feature
Please review it
Regards, Laszlo Benedek
| Attachment | Content-Type | Size |
|---|---|---|
| pg_dump.role.patch | text/x-patch | 13.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | KaiGai Kohei | 2008-09-25 00:19:54 | Re: Proposal of SE-PostgreSQL patches (for CommitFest:Sep) |
| Previous Message | Andrew Dunstan | 2008-09-24 21:57:41 | Re: Upgrading pgFoundry (Was: Where to Host Project) |