Check used privilege in a statment - Mailing list pgsql-general

From Ahmed Ibrahim
Subject Check used privilege in a statment
Date
Msg-id CAKfRk1uCwdmMckxQ_W0aU0e8Uq5ZgMM86jsHcQTidatrJmZXfw@mail.gmail.com
Whole thread Raw
Responses Re: Check used privilege in a statment
List 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!

pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Strange permission effect depending on DEFERRABILITY
Next
From: Tom Lane
Date:
Subject: Re: Check used privilege in a statment