Re: CREATE USER and pg_user - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CREATE USER and pg_user
Date
Msg-id 20865.1124741869@sss.pgh.pa.us
Whole thread Raw
In response to Re: CREATE USER and pg_user  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> On Fri, Aug 12, 2005 at 08:55:09AM -0500, Bruno Wolff III wrote:
>> For more information take a look at the CREATE ROLE command in the
>> developer docs.

> ISTM that it's a bug to be able to assign permissions that you don't
> yourself have. In this case, if you have CREATEROLE but not SUPERUSER,
> then you should be able to create roles, but not ones that have
> SUPERUSER status. If this isn't how it currently works then there should
> be a big warning under CREATEROLE.

Did you read the docs Bruno pointed you to?

http://developer.postgresql.org/docs/postgres/sql-createrole.html
        regards, tom lane


pgsql-hackers by date:

Previous
From: Rosser Schwarz
Date:
Subject: beginning hackers (was: indexes spanning multiple tables)
Next
From: Bruce Momjian
Date:
Subject: Re: ECPG and escape strings