Re: Recursive SELECT problem - Mailing list pgsql-sql

From Tom Lane
Subject Re: Recursive SELECT problem
Date
Msg-id 19519.1147874802@sss.pgh.pa.us
Whole thread Raw
In response to Recursive SELECT problem  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-sql
"Dave Page" <dpage@vale-housing.co.uk> writes:
> I'm trying to write a query to determine whether or not the current
> login role has CREATEDB (or CREATEROLE) privileges, either directly or
> inherited from a parent role.

Those privileges don't inherit, so I'm not sure why you need a recursive
check.
        regards, tom lane


pgsql-sql by date:

Previous
From: Niklas Johansson
Date:
Subject: Re: Table constraints and INSERT
Next
From: "Dave Page"
Date:
Subject: Re: Recursive SELECT problem