Re: Create user or role from inside a function? - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Create user or role from inside a function?
Date
Msg-id 20060901111251.GN12644@svana.org
Whole thread Raw
In response to Create user or role from inside a function?  ("Dan" <ml@mutox.org>)
List 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@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: Roman Neuhauser
Date:
Subject: Re: Create user or role from inside a function?
Next
From: Karsten Hilbert
Date:
Subject: Re: Create user or role from inside a function?