Accept invalidation messages in InitializeSessionUserId().
Thomas Munro <tmunro@postgresql.org>
Accept invalidation messages in InitializeSessionUserId(). If the authentication method modified the system catalogs through a separate database connection (say, to create a new role on the fly), make sure syscache sees the changes before we try to find the user. Author: Thomas Munro Reviewed-by: Tom Lane, Andres Freund Discussion: https://postgr.es/m/CAEepm%3D3_h0_cgmz5PMyab4xk_OFrg6G5VCN%3DnF4chFXM9iFOqA%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/init/miscinit.c | modified | +8 −0 |
Discussion
- Cache invalidation after authentication (on-the-fly role creation) 13 messages · 2018-07-03 → 2018-07-13