From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-admin@postgresql.org
Cc: Tom Gordon <tom@farechase.com>
Subject: Re: How to create schema-specific users?
Date: Wed, 10 Sep 2003 04:20:42 +0200
Message-ID: <001f01c37742$2ce38140$15720b3e@mm.eutelsat.org> (raw)
References: <909D9A10FFF03D4C87F429E7B2894E64C6D75D@nynt.farechase.com>
"Tom Gordon" <tom@farechase.com> wrote:
> I'm missing something. How do I create a user that is just for a specific
> schema, and not a global user? I see in the docs how to create schemas
and
> users, but not a schema-specific user.
The only think that you can do is specify on your pg_hba.conf file the
databases
that the user can connect to.
If you run Postgres 7.3.X these line are an example to add to your
pg_hba.conf file:
host <your_db> <user> <host-source> <netmask> password
of course this line is valid only for remote connection, for local
connection:
local <your_db> <user>
trust
Refer to the PostgreSQL Administrator's Guide, chapter "Client
Authentication" for
a complete description.
Regards
Gaetano Mendola
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: mendola@bigfoot.com, tom@farechase.com
Subject: Re: How to create schema-specific users?
In-Reply-To: <001f01c37742$2ce38140$15720b3e@mm.eutelsat.org>
References: <909D9A10FFF03D4C87F429E7B2894E64C6D75D@nynt.farechase.com> <001f01c37742$2ce38140$15720b3e@mm.eutelsat.org>
* 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