Re: Why can't the database owner create schemas and how can I enable that?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: Tim Uckun <timuckun(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Why can't the database owner create schemas and how can I enable that?
Date: 2017-09-23 15:41:52
Message-ID: 25309.1506181312@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John R Pierce <pierce(at)hogranch(dot)com> writes:
> On 9/22/2017 10:29 PM, Tim Uckun wrote:
>> The app can now connect to the database but it can't create any
>> tables, schemas or anything else unless I give it superuser privileges.

> that should have worked just fine.

Yeah. Note that creating new schemas is not directly connected to
ownership anyway --- it's a question of whether you have the CREATE
privilege on the database. The owner should have that privilege
by default, but it could be revoked, or granted to others.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-09-23 15:47:58 Re: Adding Cyrillic support
Previous Message Paul A Jungwirth 2017-09-23 15:41:03 Re: Is float8 a reference type?