Re: What does 'schema' mean ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What does 'schema' mean ?
Дата
Msg-id 5666.1136823264@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: What does 'schema' mean ?  (Neil Saunders <n.j.saunders@gmail.com>)
Список pgsql-novice
Neil Saunders <n.j.saunders@gmail.com> writes:
>> here's another one: what do database people mean by 'schema' ?

> So basically, the design of your database.

Just to confuse matters, the SQL language also uses SCHEMA to mean
a specific kind of database entity, which probably would have been
better called NAMESPACE.

Q: What does your database schema look like?
A: There are forty-two tables in four schemas, containing ...

People also speak of the schema of an individual table, for example,
meaning the set of columns it has, what indexes it has, and so on
(more or less the info that psql's "\d table" command shows).

The word's a tad overloaded, but all of these usages seem to be
pretty firmly established.

            regards, tom lane

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: What does 'schema' mean ?
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: how to recall the initial definition (CREATE TABLE)