ivan <iv@psycho.pl> writes:
> In my project i need close everything even most of pg_catalog.
> User shoudl exec only special func. and not more. He know which they are.
It sounds to me like you shouldn't be allowing your users to execute SQL
commands directly at all.
regards, tom lane