Re: Understanding Roles & Grant Options

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Understanding Roles & Grant Options
Date: 2010-12-30 17:00:22
Message-ID: 27099.1293728422@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com> writes:
> I've been reading the documentation and I'm trying to understand what
> 'GRANT' options make up a 'superuser' in PostgreSQL.

Superuser-ness is not a grantable privilege; it's an attribute of a
role. See CREATE/ALTER ROLE.

> Obviously 'Carlos' is a superuser but what does that exactly entail
> beyond CREATEDB & CREATEROLE?

A superuser succeeds at any privilege test whatsoever.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vincent Veyron 2010-12-30 17:02:54 Re: Restore problem
Previous Message Carlos Mennens 2010-12-30 16:50:59 Understanding Roles & Grant Options