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

Re: Ticket 102: Allow more complex user/database default GUC settings

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Ticket 102: Allow more complex user/database default GUC settings
Date: 2010-02-08 21:57:21
Message-ID: 4B7088C1.2030906@lelarge.info (view raw or flat)
Thread:
Lists: pgadmin-hackers
Le 23/01/2010 16:48, Guillaume Lelarge a écrit :
> Hi,
> 
> Le 21/01/2010 22:34, Guillaume Lelarge a écrit :
>> [...]
>> It took me one more day than I previously thought. Anyways, here it is.
>> I checked every I could (apart from checking on Windows and Mac OS X
>> because I don't have those in my hotel room...).
>>
>> There is not much to say on this patch. It changes the Role and Database
>> dialogsbut not that much. Should work on 9.0 (obviously), and previous
>> releases.
>>
>> Comments?
>>
> 
> I have one :)
> 
> I have an issue with it. Let's say I changed a database setting for one
> user (ALTER ROLE u1 ON DATABASE db1 SET param=value). When I click OK on
> the dialog, I get back to the browser. The SQL pane of the database db1
> object shows my change, the SQL pane of the user u1 pane doesn't. We
> need a refresh of the user when we change the database, and vice-versa.
> Won't be done today unfortunately.
> 

According to our talk during the wait at the restaurant, I dropped the
user changes. Only the database has a properties' dialog that allows a
user to use the complexe user/database default GUC settings.

Patch attached.

Comments?


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Attachment: ticket102_v2.patch
Description: text/x-patch (17.4 KB)

In response to

pgadmin-hackers by date

Next:From: Maga AbdurakhmanovDate: 2010-02-09 06:14:01
Subject: Re: SQL Syntax Highlight Configuration
Previous:From: Guillaume LelargeDate: 2010-02-08 21:50:57
Subject: Re: SQL Syntax Highlight Configuration

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