SET ROLE versus SET SESSION AUTHORIZATION - Mailing list pgsql-docs

From PG Doc comments form
Subject SET ROLE versus SET SESSION AUTHORIZATION
Date
Msg-id 170663552080.666.15305212584620999884@wrigleys.postgresql.org
Whole thread Raw
Responses Re: SET ROLE versus SET SESSION AUTHORIZATION
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/sql-set-role.html
Description:

"SET ROLE has effects comparable to SET SESSION AUTHORIZATION, but the
privilege checks involved are quite different."

What are the differences in privilege checks?

How are the two commands the same and different, semantically?

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: CREATE ROLE inheritance details
Next
From: "David G. Johnston"
Date:
Subject: Re: CREATE ROLE inheritance details