Re: List user who have access to schema

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Suresh Raja <suresh(dot)rajaabc(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: List user who have access to schema
Date: 2018-08-02 18:42:12
Message-ID: CAKFQuwbdJnoO6DXa0Ax1jCVu=s4dA9RMr3kSShOc3Dz2aefBag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

On Thursday, August 2, 2018, Suresh Raja <suresh(dot)rajaabc(at)gmail(dot)com> wrote:

> yes ... how can i pass variable * to the function has_schema_privilege(*,
> 'schema-of-interest', 'usage');
>

You cannot...you must execute the function once for every user, hence the
original query's from clause.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-08-02 18:47:25 Re: List user who have access to schema
Previous Message Suresh Raja 2018-08-02 18:23:48 Re: List user who have access to schema

Browse pgsql-sql by date

  From Date Subject
Next Message Adrian Klaver 2018-08-02 18:47:25 Re: List user who have access to schema
Previous Message Suresh Raja 2018-08-02 18:23:48 Re: List user who have access to schema