Re: Account privileges - Mailing list pgsql-general

From David G. Johnston
Subject Re: Account privileges
Date
Msg-id CAKFQuwYQ2+2+rw6M4CmtdFphBK0Q-e6TWnrtAHFj5HhgxEMPiA@mail.gmail.com
Whole thread Raw
In response to Account privileges  (Prathima Mulpuri <prathima.mulpuri@gmail.com>)
List pgsql-general
On Tuesday, November 16, 2021, Prathima Mulpuri <prathima.mulpuri@gmail.com> wrote:
Please share any ideas and solutions for my requirement.

Drop the “function or a stored procedure” requirement, use an external application language instead.  Node.js for example.

Separate the listing of extra/missing privileges from the execution of code to fix those things.

You didn’t mention how the software is supposed to know what is the correct set of permissions.  If you haven’t worked through that detail conceptually, and with some manual query execution to prove out that it works, that should be the first feature to design and implement.

David J.

pgsql-general by date:

Previous
From: Prathima Mulpuri
Date:
Subject: Account privileges
Next
From: Tom Lane
Date:
Subject: Re: Row estimate on empty tables