Re: Recursive SELECT problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Recursive SELECT problem
Date: 2006-05-17 14:06:42
Message-ID: 19519.1147874802@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Dave Page" <dpage(at)vale-housing(dot)co(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Dave Page 2006-05-17 14:10:02 Re: Recursive SELECT problem
Previous Message Niklas Johansson 2006-05-17 10:49:38 Re: Table constraints and INSERT