Re: CREATE USER in RULE or TRIGGER - Mailing list pgsql-general

From Tom Lane
Subject Re: CREATE USER in RULE or TRIGGER
Date
Msg-id 26356.972427381@sss.pgh.pa.us
Whole thread Raw
In response to CREATE USER in RULE or TRIGGER  (Marcin Mazurek <M.Mazurek@poznan.multinet.pl>)
List pgsql-general
Marcin Mazurek <M.Mazurek@poznan.multinet.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

pgsql-general by date:

Previous
From: Brook Milligan
Date:
Subject: index problems
Next
From: Rodrigo Castro
Date:
Subject: Re: three things