Re: Create user or role from inside a function?

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Dan <ml(at)mutox(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Create user or role from inside a function?
Date: 2006-09-01 11:12:51
Message-ID: 20060901111251.GN12644@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Sep 01, 2006 at 08:13:14PM +1000, Dan wrote:
> Hey,
>
> I am running PostgreSQL 8.1.4 and I want to create a user from inside a
> function. Is this possible in 8.1?
>
> Ive found quite a few references on google using EXECUTE, but this seems
> relevant to earlier versions, not 8.1.

Does it make a difference if you use single quotes rather than double
(taking into account the need to escape then). They mean somewhat
different things...

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2006-09-01 11:14:58 Re: Training (from Thought provoking...)
Previous Message SunWuKung 2006-09-01 10:42:30 Re: number of elements in a multidimensional array