Invalidate acl.c caches when pg_authid changes.

Noah Misch <noah@leadboat.com>

Commit: 90383a613b48925f9dbc4ca325a1234956baddab
Author: Noah Misch <noah@leadboat.com>
Date: 2020-12-25T18:42:04Z
Releases: 9.5.25
Invalidate acl.c caches when pg_authid changes.

This makes existing sessions reflect "ALTER ROLE ... [NO]INHERIT" as
quickly as they have been reflecting "GRANT role_name".  Back-patch to
9.5 (all supported versions).

Reviewed by Nathan Bossart.

Discussion: https://postgr.es/m/20201221095028.GB3777719@rfd.leadboat.com

Files

Discussion