Re: Question About Roles

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Question About Roles
Date: 2014-07-02 17:58:07
Message-ID: alpine.LNX.2.11.1407021056560.1083@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2 Jul 2014, Gregory Haase wrote:

> If it made you feel better, remember that CREATE USER is an alias for
> CREATE ROLE that includes LOGIN by default.

Greg,

Yes, I read that in the docs.

> So if you simply swap one word in your command, the context becomes a
> little more clear for what you want:
>
> CREATE USER new_management_user
> [other stuff here]
> IN ROLE management;

Got it.

Thanks,

Rich

In response to

Browse pgsql-general by date

  From Date Subject
Next Message jared 2014-07-02 18:38:36 Re: Not able to understand how to write group by
Previous Message Arup Rakshit 2014-07-02 17:54:39 Re: Not able to understand how to write group by