Re: Parsing of pg_hba.conf and authentication inconsistencies

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Parsing of pg_hba.conf and authentication inconsistencies
Date: 2008-08-02 16:25:20
Message-ID: 48948A70.1010405@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus,

> However it would be nice to throw an error or at least a warning when parsing
> the file instead of pretending everything's ok. Perhaps authentication methods
> should have a function to check whether the method is supported which is
> called when the file is parsed.
>

The good way to solve this would be to have independant command line
utilities which check pg_hba.conf, pg_ident.conf and postgresql.conf for
errors. Then DBAs could run a check *before* restarting the server.

--Josh

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-08-02 16:37:25 Re: Parsing of pg_hba.conf and authentication inconsistencies
Previous Message Tom Lane 2008-08-02 16:12:50 Re: Re: [Pljava-dev] Should creating a new base type require superuser status?