Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 22AF2475F55 for ; Wed, 8 Jan 2003 21:26:51 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 33850476332 for ; Wed, 8 Jan 2003 21:26:30 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h092QSj00596; Wed, 8 Jan 2003 21:26:28 -0500 (EST) From: Bruce Momjian Message-Id: <200301090226.h092QSj00596@candle.pha.pa.us> Subject: Re: What benefits can I expect from schemas ? In-Reply-To: <20030109022016.40972.qmail@web12704.mail.yahoo.com> To: chester c young Date: Wed, 8 Jan 2003 21:26:28 -0500 (EST) Cc: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/112 X-Sequence-Number: 10977 chester c young wrote: > > > I could not find much documentation about SQL 92 schemas that > > > 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. > > Can you copy by schema? No. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073