Marcin Mazurek <M(dot)Mazurek(at)poznan(dot)multinet(dot)pl> writes:
> is it possible to CREATE USER in a RILE or TRIGGER?
Not with a rule, and not with a plpgsql trigger either (although I think
the latter restriction is fixed in current sources). You could make it
work with a pltcl trigger, I believe.
regards, tom lane