Re: Can the current session be notified and refreshed with a new credentials context?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: AC Gomez <antklc(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Can the current session be notified and refreshed with a new credentials context?
Date: 2020-06-23 01:03:12
Message-ID: CAKFQuwazfpmQQzNxsfrQkO4GnysN+zC7jyJGO=Y_8JBkG4Vb0A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2020-06-23 01:43:21 Re: Can the current session be notified and refreshed with a new credentials context?
Previous Message Tim Cross 2020-06-23 01:02:09 Re: scram-sha-256 encrypted password in pgpass