Andrey Borodin <x4...@yandex-team.ru> writes: > Currently only superuser is allowed to create LEAKPROOF functions because > leakproof functions can see tuples which have not yet been filtered out by > security barrier views or row level security policies.
Yeah. > But managed cloud services typically do not provide superuser roles. This is not a good argument for relaxing superuser requirements. regards, tom lane