Re: CREATE USER in RULE or TRIGGER

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marcin Mazurek <M(dot)Mazurek(at)poznan(dot)multinet(dot)pl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: CREATE USER in RULE or TRIGGER
Date: 2000-10-24 22:43:01
Message-ID: 26356.972427381@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-10-24 23:12:42 Re: How do I find out the version number
Previous Message Tom Lane 2000-10-24 22:39:08 Re: counting groups