Re: What benefits can I expect from schemas ?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bob Lapique <lapique(at)ifrance(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: What benefits can I expect from schemas ?
Date: 2003-01-08 17:26:48
Message-ID: 200301081726.h08HQmR01291@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Bob Lapique wrote:
> Hi,
>
> I could not find much documentation about SQL 92 schemas that version
> 7.3 now supports. I understood it was a structure to group various
> objects, which allows faster privilege management, namespaces
> definition.
> Besides that, I don't see any advantages. I'd be glad if someone could
> point them out for me, or give doc links.

That's pretty much it. You can give each user their own namespace so
they can all create tables with the same name, or put applications in
their own namespace so they don't conflict with other applications.
You can also control object creation easier by restricting privs on the
public namespace.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2003-01-08 17:32:33 Re: [SQL] [PERFORM] 7.3.1 index use / performance
Previous Message Nikola Ivacic 2003-01-08 17:06:03 Re: count(*) optimization