Re: ALTER ROLE SET/RESET for multiple options - Mailing list pgsql-hackers

From Robert Haas
Subject Re: ALTER ROLE SET/RESET for multiple options
Date
Msg-id CA+TgmoZTJfVSei0484-+4m4Wx=kBh4WqPLoCBHmAoDRyKJyj6A@mail.gmail.com
Whole thread Raw
In response to Re: ALTER ROLE SET/RESET for multiple options  (Payal Singh <payal@omniti.com>)
Responses Re: ALTER ROLE SET/RESET for multiple options
List pgsql-hackers
On Fri, Feb 12, 2016 at 1:35 PM, Payal Singh <payal@omniti.com> wrote:
> The feature seems to work as described, but is it necessary to enclose multiple GUC settings in a parenthesis? This
seemsa deviation from the usual syntax of altering multiple settings separated with comma.
 

Well, note that you can say:

ALTER USER bob SET search_path = a, b, c;

I'm not sure how the parentheses help exactly; it seems like there is
an inherit ambiguity either way.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [COMMITTERS] pgsql: Code cleanup in the wake of recent LWLock refactoring.
Next
From: Pavel Stehule
Date:
Subject: Re: [COMMITTERS] pgsql: Code cleanup in the wake of recent LWLock refactoring.