844
844
* Disallow SET ROLE inside a security definer context. We need to do
845
845
* this because when we exit the context, GUC won't be notified,
847
847
* that restoring a previously saved setting isn't prevented.
849
849
* XXX it would be nice to allow this case in future, with the