Re: AW: Unhappy thoughts about pg_dump and objects inherited from template1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: AW: Unhappy thoughts about pg_dump and objects inherited from template1
Дата
Msg-id 6531.973785879@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: AW: Unhappy thoughts about pg_dump and objects inherited from template1  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> I think the hierarchy goes:
>     Environment->Catalog->Schema
> From what I can tell:
> 1. the environment contains truly general things like the SQL parser, the
> tools for connecting to the DB etc - which I assume also contains the
> user-authorization stuff.

In that case it would seem that environment maps to what we call an
installation --- if users are environment-wide then that's certainly
the natural mapping.  Then database maps to catalog and schema is a
new feature within databases.

> 3. Schemas are what we call databases. They contain tables, views wtc.

Schemas are *not* databases, because (IIRC) it's possible for a single
session to access multiple schemas.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: Question about reliability?
Следующее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: AW: Unhappy thoughts about pg_dump and objects inhe rited from template1