Re:Protecting reserved roles with PostgreSQL Hooks
by rad_gruchalski on Friday July 02, 2021 @08:29PM
(#27718369)
I’ll give it a shot over the weekend as I have a few use cases for similar functionality in Yugabyte. This is pretty exciting stuff at the right time!
It should work too!
Check this line here[1]. That shows that Yugabyte also has the `ProcessUtility_hook`(same one used in the article) defined. It would be a matter of installing and loading the Supautils extension.
[1]: https://github.com/yugabyte/yugabyte-db/blob/master/src/post...