Re: Allowing usernames in pg_hba.conf

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Allowing usernames in pg_hba.conf
Date: 2002-03-11 15:03:10
Message-ID: 200203111503.g2BF3A703682@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Lincoln Yeoh wrote:
> Is there a way to grant another user access (full/limited) to an entire
> database?
>
> Right now pg_hba.conf controls connectivity to a database.
>
> However from the docs it seems that one has to do a grant for _every_
> table. if a new table is created the user can't access it. This can be
> annoying in some situations.

Table access and database access are different issues. One is controled
by pg_hba.conf and other by GRANT. There is no mass-GRANT capability.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-03-11 15:11:03 Re: Rationalizing EXPLAIN VERBOSE output
Previous Message Liam Stewart 2002-03-11 15:00:34 Re: Adding qualification conditions to EXPLAIN output