Re: Role members

From: Richard Huxton <dev(at)archonet(dot)com>
To: Akmal Akmalhojaev <akmal(dot)ilh(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Role members
Date: 2007-05-21 13:26:27
Message-ID: 46519E03.6020600@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Akmal Akmalhojaev wrote:
> It doesn't mean if there is "inherit" flag. I'm looking for a C function
> like SearchSysCache() or smth.

Ah - I think the file you neeed to look in is backend/utils/adt/acl.c -
I think it's looking at things the other way around. That is - is the
current role a member of role X rather than list all the roles that are
members of X.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message novnov 2007-05-21 14:42:50 Re: Trigger function which inserts into table; values from lookup
Previous Message Raymond O'Donnell 2007-05-21 12:21:59 Re: Trigger function which inserts into table; values from lookup

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-05-21 13:34:23 Re: UTF8MatchText
Previous Message Peter Eisentraut 2007-05-21 13:23:30 Re: Re: [Oledb-dev] double precision error with pg linux server, but not with windows pg server