Re: [General] beginner!!!

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [General] beginner!!!
Date: 2009-12-09 15:41:18
Message-ID: 4B1FC51E.30605@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jean-Yves F. Barbier wrote:
> Joana Camacho a écrit :
> ...
>
>> su - postgres
>> createuser radius --no-superuser --no-createdb --no-createrole -P
>>
> ^^^^^^^^^^^^^^
>
>> createdb radius --owner=radius
>>
> ^^^^^^^^^^^^^^
>
> There's a slight contradiction...
>

hmm? no there isn't. a role can be made the owner a database without
having the createdb priv himself. I do this all the time.

CREATE USER fred WITH PASSWORD 'fredisdead';
CREATE DATABASE freddb WITH OWNER fred;

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Yves F. Barbier 2009-12-09 15:44:40 Re: [General] beginner!!!
Previous Message Jean-Yves F. Barbier 2009-12-09 15:35:01 Re: [General] beginner!!!