Re: What are schemas?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Francisco Reyes <lists(at)natserv(dot)com>
Cc: Pgsql Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: What are schemas?
Date: 2002-05-01 04:00:56
Message-ID: 4669.1020225656@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Francisco Reyes <lists(at)natserv(dot)com> writes:
> What are schemas?
> I have a general/vague idea, but would like to better understand it.

To my mind, schemas are the SQL-spec equivalent of subdirectories,
folders, or namespaces: you can name stuff in a schema without concern
for name conflicts against what the guy in the next cubicle is naming
the stuff in his schema.

SQL is a little weird in that there's only one level of schema naming;
you can't have schemas-in-schemas, whereas practically every other
folder/directory/whatever design allows hierarchical naming. But it's
the same kind of idea.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Denny Permana 2002-05-01 06:06:56 Once again about 'OID'
Previous Message Francisco Reyes 2002-05-01 02:17:32 What are schemas?