Check used privilege in a statment

From: Ahmed Ibrahim <ahmedhssn02(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Check used privilege in a statment
Date: 2024-09-10 04:22:25
Message-ID: CAKfRk1uCwdmMckxQ_W0aU0e8Uq5ZgMM86jsHcQTidatrJmZXfw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I am trying to know which privileges are used in a specific query but I am
facing problems when I have nested queries. Where is the best place/hook I
can check for all needed permissions for a query in the source? Currently,
trying it in the exectuter start but the nested queries are problematic.
Thanks!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2024-09-10 06:08:18 Re: Check used privilege in a statment
Previous Message Laurenz Albe 2024-09-09 21:09:12 Re: Strange permission effect depending on DEFERRABILITY