X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 4759C30DD0F for ; Wed, 11 Jun 2003 19:34:53 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 65909-02 for ; Wed, 11 Jun 2003 16:34:42 -0300 (ADT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 5B07030E51E for ; Wed, 11 Jun 2003 16:34:42 -0300 (ADT) Received: (qmail 18003 invoked by uid 500); 11 Jun 2003 19:37:26 -0000 Date: Wed, 11 Jun 2003 14:37:26 -0500 From: Bruno Wolff III To: Julian Cc: pgsql-admin@postgresql.org Subject: Re: users Message-ID: <20030611193726.GC17221@wolff.to> Mail-Followup-To: Julian , pgsql-admin@postgresql.org References: <5.2.0.9.2.20030610105149.00b454f8@pop3.arnet.com.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.2.20030610105149.00b454f8@pop3.arnet.com.ar> User-Agent: Mutt/1.5.4i X-Archive-Number: 200306/112 X-Sequence-Number: 9103 On Tue, Jun 10, 2003 at 10:53:50 -0300, Julian wrote: > Hi all, i'm new in postgres and this question may be very easy, but i need > to do this so here it goes. > I have one user in my database, and i need to create 10 more users to > connect to de database but they must use the tables defined in the first > user but i can not use user.table. how can i do this? is there synonyms in > postgres? You can add the 10 users to a group and give appropiate access to the group to tables and schemas. You could set the default search path to the database to include the schema that has the tables in them. You will want to warn the people that creating tables with names matching those in the above schema might cause some problems if they aren't careful.