Re: A few comparison terms just to be sure. - Mailing list pgsql-novice

From Tom Lane
Subject Re: A few comparison terms just to be sure.
Date
Msg-id 17752.1183326878@sss.pgh.pa.us
Whole thread Raw
In response to A few comparison terms just to be sure.  ("Dale Cooper" <sa_dale_cooper@hotmail.com>)
Responses Re: A few comparison terms just to be sure.  ("Dale Cooper" <sa_dale_cooper@hotmail.com>)
List pgsql-novice
"Dale Cooper" <sa_dale_cooper@hotmail.com> writes:
> The questions:
> 1- What I know as an oracle database (a group of schemas), in postgresql is
> called a cluster. Is that right?

No.  A group of schemas is a database, a group of databases is a cluster
(a/k/a installation).  I think the SQL-spec term for what we call a
database is a "catalog"; not sure if Oracle uses that terminology.

> 2- what I know as "schema", in postgresql is called a "database"?

No, it's called a schema.  (Or at least it is if Oracle uses the spec
terminology.)

> 3- Every user is the superuser of his own schema/database but is there a
> SYS/SYSMAN/SYSTEM (DBA) user who has access to all "databases"? I place
> where I can log in and control what everyone is doing?

In the first place, an ordinary user isn't "the superuser" of anything;
he may own a table or a schema or a database but that doesn't give him
superuser privileges, only the ability to drop or modify that object.
The OS user that created the installation is a true superuser --- the
documentation always refers to this user as "postgres" but you don't
necessarily have to run Postgres under that username.

> 4- What in Oracle is the SYSTEM/SYSAUX schema (where all oracle's own
> objects reside) is the "postgres" database (I didn't find this schema
> although I read about in the docs: chapter 16.2)?

Perhaps you are looking for the pg_catalog schema.  See chapter 43
(system catalogs).

            regards, tom lane

pgsql-novice by date:

Previous
From: "Dale Cooper"
Date:
Subject: A few comparison terms just to be sure.
Next
From: "Dale Cooper"
Date:
Subject: Re: A few comparison terms just to be sure.