Skip site navigation (1) Skip section navigation (2)

Re: pg_dump roles support

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-08-27 14:17:43
Message-ID: 48B56207.3080502@benedekl.tvnetwork.hu (view raw or flat)
Thread:
Lists: pgsql-hackers
Hello,

daveg wrote:
>> I created a patch to set the role to a specified name just after the db
>> connection.
>>      
> I was going to do this, but you have beat me to it. You will want to update
> the sgml documentation, and pg_dumpall as well.
>
> -dg
>
>    
Ok, here is the next one.
pg_dumpall now just passes the --role option to pg_dump. What do you 
think, is it enough
or it should issue the SET ROLE TO ... command in its own session too?

Laszlo Benedek


Attachment: pg_dump.role.patch
Description: text/x-patch (6.7 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2008-08-27 14:32:13
Subject: Re: Is it really such a good thing for newNode() to be a macro?
Previous:From: Tom LaneDate: 2008-08-27 14:06:37
Subject: Re: Is it really such a good thing for newNode() to be a macro?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group