Rafal Pietrak <rafal(at)zorro(dot)isa-geek(dot)com> writes:> but I get:> ERROR: ALTER ROLE is not allowed in a non-volatile function> Why???
Because non-volatile means, among other things, "this function has noside effects".
regards, tom lane