pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Isolation of multiple databse instances provided by a single postgres server
Date: Thu, 21 Nov 2019 08:53:27 -0600
Message-ID: <18757dce-745f-a460-b052-7973785ff6b1@gmail.com> (raw)
In-Reply-To: <20191121144232.GB18839@panix.com>
References: <20191120220353.GA24554@panix.com>
	<db8bd3e1-7217-a66d-6113-2f402d89801c@gmail.com>
	<20191121115549.GA3417@panix.com>
	<cd6ba795-34a3-51bd-d24b-c1517c4945b4@gmail.com>
	<20191121144232.GB18839@panix.com>

On 11/21/19 8:42 AM, stan wrote:
> On Thu, Nov 21, 2019 at 08:18:21AM -0600, Ron wrote:
[snip]
>> Yes, but ... schema in Postgres are /different/ from Oracle schema.?? In
>> Postgres, the CREATE SCHEMA command creates a schema, whereas CREATE USER
>> creates a schema in Oracle.
> I am still struggling with the schema - role - user relationship in Postgres.
> It appears to me there is one more layer than is needed/useful.

For one thing, there are no users in Postgres anymore.

https://www.postgresql.org/docs/9.6/sql-createuser.html

CREATE USERis now an alias forCREATE ROLE 
<https://www.postgresql.org/docs/9.6/sql-createrole.html;. The only 
difference is that when the command is spelledCREATE USER,LOGINis assumed by 
default, whereasNOLOGINis assumed when the command is spelledCREATE ROLE.


-- 
Angular momentum makes the world go 'round.

view thread (11+ messages)  latest in thread

Message-ID: <18757dce-745f-a460-b052-7973785ff6b1@gmail.com>
Permalink:  ../18757dce-745f-a460-b052-7973785ff6b1@gmail.com/
Also on:    postgresql.org/message-id/18757dce-745f-a460-b052-7973785ff6b1@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Isolation of multiple databse instances provided by a single postgres server
  In-Reply-To: <18757dce-745f-a460-b052-7973785ff6b1@gmail.com>
  References: <20191120220353.GA24554@panix.com> <db8bd3e1-7217-a66d-6113-2f402d89801c@gmail.com> <20191121115549.GA3417@panix.com> <cd6ba795-34a3-51bd-d24b-c1517c4945b4@gmail.com> <20191121144232.GB18839@panix.com> <18757dce-745f-a460-b052-7973785ff6b1@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox