Re: Change built-in default privileges for CREATE DATABASE?

From: Michał Rus <m(at)michalrus(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Change built-in default privileges for CREATE DATABASE?
Date: 2013-05-30 18:13:31
Message-ID: CAH=q+8Lac1v-3wH_NkjQMdhKA9NNUaAEE0eKi-SscLUk6HFoFQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Answered by Peter Eisentraut here:

http://dba.stackexchange.com/a/43435/24360

Thanks,
Michał.

On Thu, May 30, 2013 at 12:24 PM, Michał Rus <m(at)michalrus(dot)com> wrote:
> Hello,
>
> when i CREATE a new DATABASE, its privileges column is empty (it's not
> the same case as it being '{}', which means no privileges). Empty
> column means: use built-in defaults. These defaults are:
>
> =c + owner=CTc
>
> How can I change these defaults so that after creation PUBLIC gets no
> rights? That is: remove '=c' from them.
>
> Here's a more detailed post on dba.SE:
>
> http://dba.stackexchange.com/questions/43387/change-built-in-default-privileges-in-postgresql
>
> Thanks,
> Michał.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rodrigo Barboza 2013-05-30 18:23:51 Re: How do I know my table is bloated?
Previous Message Igor Neyman 2013-05-30 16:35:32 Re: How do I know my table is bloated?