Re: Problem with reloading groups in pg_hba.conf

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Problem with reloading groups in pg_hba.conf
Date: 2002-03-22 17:19:15
Message-ID: 200203221719.g2MHJFb09133@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Tom Lane writes:
>
> > I don't think GRANT CONNECT fits into our setup at all. I also doubt
> > that it will be needed very much once we have schemas.
>
> People have many times asked for a way to alter the connection settings
> from within the database. For instance, you add users in the database,
> but then you need to go elsewhere to give that user any access. Consider
> GRANT CONNECT a built-in editor for pg_hba.conf. You don't have to
> actually store the information in two separate places.

I don't know. Automatically modifying a manually maintained config file
isn't too common a feature. One problem would be if you where modifying
the file in your editor and the backend rewrote the file.

I think groups will give use the ability to add/remove connection from
within the database. You just need to mention the group name in the
config file. My original idea was to automatically identify some group
name for each database but maybe that is too smart.

--
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 Tom Lane 2002-03-22 17:24:59 Re: Problem with reloading groups in pg_hba.conf
Previous Message Tom Lane 2002-03-22 17:17:53 Re: pg_control contents