On Mon, Jun 22, 2020 at 5:41 PM AC Gomez <antklc(at)gmail(dot)com> wrote:
> But what I understand you to say is that, one can start running a function
> in PG, change all security context from under it, and it will still work
> under the original login context, despite the changes.
>
https://www.postgresql.org/docs/12/tutorial-transactions.html
David J.