Recalculate search_path after ALTER ROLE.

Jeff Davis <jdavis@postgresql.org>

Commit: 9f3343e40df6fc92a3913eeb8e240e0f5c6a5cfc
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2023-08-07T22:12:49Z
Releases: 15.5
Recalculate search_path after ALTER ROLE.

Renaming a role can affect the meaning of the special string $user, so
must cause search_path to be recalculated.

Discussion: https://postgr.es/m/186761d32c0255debbdf50b6310b581b9c973e6c.camel@j-davis.com
Reviewed-by: Nathan Bossart, Michael Paquier
Backpatch-through: 11

Files

Discussion