Inherit Superuser Role Help - Mailing list pgsql-general

From Carlos Mennens
Subject Inherit Superuser Role Help
Date
Msg-id CAAQLLO5ZMj_g5o+Xby_99S0p8+nD1rmvk8+WvPRATBxTOxAe7g@mail.gmail.com
Whole thread Raw
Responses Re: Inherit Superuser Role Help
List pgsql-general
What am I missing here?

postgres=> SELECT current_user;
 current_user
--------------
 carlos
(1 row)

postgres=> CREATE DATABASE carlosdb;
ERROR:  permission denied to create database

postgres=> \du
                                    List of roles
 Role name |                          Attributes
   | Member of
-----------+--------------------------------------------------------------+-----------
 carlos    |
   | {dba}
 chris     |
   | {web}
 dba       | Superuser, Create role, Create DB, Cannot login, Replication | {}
 postgres  | Superuser, Create role, Create DB, Replication               | {}
 web       | Cannot login                                                 | {}

Shouldn't 'carlos' be a superuser based on him being a member of a
role which has createdb and superuser rights granted to it?

--
Carlos Mennens


pgsql-general by date:

Previous
From: Jeff Janes
Date:
Subject: Re: Most efficient way to insert without duplicates
Next
From: Tom Lane
Date:
Subject: Re: Inherit Superuser Role Help