Re: Check used privilege in a statment

2024-09-09 Thread Tom Lane
Ahmed Ibrahim writes: > 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 ne

Check used privilege in a statment

2024-09-09 Thread Ahmed Ibrahim
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 problemati