pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to create schema-specific users?
3+ messages / 3 participants
[nested] [flat]

* How to create schema-specific users?
@ 2003-09-09 14:22 Tom Gordon <tom@farechase.com>
  2003-09-10 02:20 ` Re: How to create schema-specific users? Gaetano Mendola <mendola@bigfoot.com>
  2003-09-11 19:33 ` Re: How to create schema-specific users? Michał Małecki <webmaster@e.media.pl>
  0 siblings, 2 replies; 3+ messages in thread

From: Tom Gordon @ 2003-09-09 14:22 UTC (permalink / raw)
  To: pgsql-admin

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.
 
Thanks,
Tom Gordon

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to create schema-specific users?
  2003-09-09 14:22 How to create schema-specific users? Tom Gordon <tom@farechase.com>
@ 2003-09-10 02:20 ` Gaetano Mendola <mendola@bigfoot.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Gaetano Mendola @ 2003-09-10 02:20 UTC (permalink / raw)
  To: pgsql-admin; +Cc: Tom Gordon <tom@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




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to create schema-specific users?
  2003-09-09 14:22 How to create schema-specific users? Tom Gordon <tom@farechase.com>
@ 2003-09-11 19:33 ` Michał Małecki <webmaster@e.media.pl>
  1 sibling, 0 replies; 3+ messages in thread

From: Michał Małecki @ 2003-09-11 19:33 UTC (permalink / raw)
  To: Tom Gordon <tom@farechase.com>; +Cc: pgsql-admin

Dnia 03-09-09 16:22, Użytkownik Tom Gordon napisał:
> 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.
Users, as well as roles aka groups are non-schema objects (they can own 
other objects and mat be granted rights to other objects). What 
particular functionality would you like to achieve using a user being 
part of some other user's schema (except the ability to have multiple 
separate namespaces for usernames)?

-- 
  _______
|  |||||| Michal Malecki, system analyst
|  ||||||
|  |||||| e.media Studio, Gliwice, PL
|e.media|
|__|||||| michal.malecki@e.media.pl




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-09-11 19:33 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-09 14:22 How to create schema-specific users? Tom Gordon <tom@farechase.com>
2003-09-10 02:20 ` Gaetano Mendola <mendola@bigfoot.com>
2003-09-11 19:33 ` Michał Małecki <webmaster@e.media.pl>

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