Re: Adding usernames to pg_hba.conf

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: pgman(at)candle(dot)pha(dot)pa(dot)us
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Adding usernames to pg_hba.conf
Date: 2002-03-19 06:06:40
Message-ID: 200203190606.g2J66eH16215@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Sorry, the previous posting didn't have the full patch. This one does.

---------------------------------------------------------------------------

pgman wrote:
> This patch completes the following TODO item:
>
> * Allow usernames to be specified directly in pg_hba.conf (Bruce)
>
> Currently, we allow usernames in secondary password files, but this is a
> very confusing feature. This patch:
>
> o removes secondary password file support
> o adds a user name column just after the database column
> o allows a comma separated list of usernames or databases
> o allows another file to contain a list of username/databases
> by preceding the pg_hba.conf entry with '@'
> o allow single or double-quoting of user/database names
>
> See the documentation changes and new pg_hba.conf diffs for samples.
>
> Is the '@' sign a good way to identify a file name? Is putting the
> username column just after the database column the right place for it?

--
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

Attachment Content-Type Size
unknown_filename text/plain 81.0 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Leif Mortenson 2002-03-19 06:51:36 JDBC PreparedStatement Memory Leak.
Previous Message Bruce Momjian 2002-03-19 05:55:07 Adding usernames to pg_hba.conf