From: Bruno Wolff III <bruno@wolff.to>
To: Julian <mojulu@arnet.com.ar>
Cc: pgsql-admin@postgresql.org
Subject: Re: users
Date: Wed, 11 Jun 2003 14:37:26 -0500
Message-ID: <20030611193726.GC17221@wolff.to> (raw)
In-Reply-To: <5.2.0.9.2.20030610105149.00b454f8@pop3.arnet.com.ar>
References: <5.2.0.9.2.20030610105149.00b454f8@pop3.arnet.com.ar>
On Tue, Jun 10, 2003 at 10:53:50 -0300,
Julian <mojulu@arnet.com.ar> 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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruno@wolff.to, mojulu@arnet.com.ar
Subject: Re: users
In-Reply-To: <20030611193726.GC17221@wolff.to>
References: <5.2.0.9.2.20030610105149.00b454f8@pop3.arnet.com.ar> <20030611193726.GC17221@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox