Re: ALTER ROLES - questions - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: ALTER ROLES - questions
Date
Msg-id 20050822201635.GE72767@pervasive.com
Whole thread Raw
In response to Re: ALTER ROLES - questions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Aug 15, 2005 at 09:49:35AM -0400, Tom Lane wrote:
> Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes:
> > I played around with roles a bit today and noticed some minor things:
> 
> > ALTER ROLE seems to support ALTER ROLE <name> ROLE <name> - but that
> > form is not mentioned in the docs:
> 
> There are some cases that work, but are not documented (or supported),
> as a result of the fact that the same productions are used in the
> grammar to support both the ROLE commands and the older GROUP commands.
> I don't think it's worth bloating the grammar to suppress this.

Should we mention this in the docs along with the warning that it's
unsupported and may go away in the future?

TBH it seems like it would be better not to have hidden behaviors that
people end up using because they don't remember the supported syntax and
end up in the habit of using unsupported syntax without realizing it.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software        http://pervasive.com        512-569-9461


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Missing CONCURRENT VACUUM (Was: Release notes for
Next
From: "Jim C. Nasby"
Date:
Subject: Re: distributed performance testing