Yash Jain <jainism987e@gmail.com> writes:
> I understand that the C-based functions can only be created by a superuser.
> Are there any other db objects that require superuser? Or is C-based
> functions the only one?
Scalar types and operator classes are two, there are probably others
I'm not thinking of. Search the CREATE reference pages for mentions
of "superuser".
regards, tom lane