Re: How to create schema-specific users?

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: How to create schema-specific users?
Дата
Msg-id 001f01c37742$2ce38140$15720b3e@mm.eutelsat.org
обсуждение исходный текст
Ответ на How to create schema-specific users?  (Tom Gordon <tom@farechase.com>)
Список pgsql-admin
"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


В списке pgsql-admin по дате отправления:

Предыдущее
От: "Gaetano Mendola"
Дата:
Сообщение: Report Generator Proposal
Следующее
От: Tom Lane
Дата:
Сообщение: Re: transaction-wraparound data loss