Re: What does 'schema' mean ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Saunders <n(dot)j(dot)saunders(at)gmail(dot)com>
Cc: Joao Miguel Ferreira <jmf(at)estg(dot)ipvc(dot)pt>, pgsql-novice(at)postgresql(dot)org
Subject: Re: What does 'schema' mean ?
Date: 2006-01-09 16:14:24
Message-ID: 5666.1136823264@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Neil Saunders <n(dot)j(dot)saunders(at)gmail(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Jaime Casanova 2006-01-09 16:15:34 Re: how to recall the initial definition (CREATE TABLE)
Previous Message A. Kretschmer 2006-01-09 15:59:12 Re: What does 'schema' mean ?