Re: SUPERUSER vs CREATEUSER causes foul 'code smell' - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: SUPERUSER vs CREATEUSER causes foul 'code smell'
Date
Msg-id 200708161747.41596.peter_e@gmx.net
Whole thread Raw
In response to SUPERUSER vs CREATEUSER causes foul 'code smell'  (Joshua_Kramer <josh@globalherald.net>)
List pgsql-sql
Am Donnerstag, 16. August 2007 17:36 schrieb Joshua_Kramer:
> In the pg_users view - is there a way to differentiate between a role with
> SUPERUSER priveleges, and a user who merely has the CREATEUSER flag?

No, because they are the same.

> If I want to create a role who can create other roles, but not have other
> SUPERUSER priveleges - how can I do that?

See CREATEROLE privilege.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-sql by date:

Previous
From: "Rodrigo De León"
Date:
Subject: Re: SUPERUSER vs CREATEUSER causes foul 'code smell'
Next
From: Tom Lane
Date:
Subject: Re: SUPERUSER vs CREATEUSER causes foul 'code smell'