Re: Re: Improving pg_hba.conf - Mailing list pgsql-hackers

From mlw
Subject Re: Re: Improving pg_hba.conf
Date
Msg-id 3B279DB8.E8CB5657@mohawksoft.com
Whole thread Raw
In response to Re: Re: Improving pg_hba.conf  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:

> mlw writes:
>
> > Why doesn't postgres put the contents pg_hba.conf in a table? That way it comes
> > for free when you reinitialize and restore a database?
>
> Because if you hosed that table you would have hosed your entire
> installation.
>

You could use a bki script to fix the problem in stand alone mode if need be. I
don't think breaking this table is really an issue. My only concerns would be the
chicken vs egg problem connecting to the system, and security. Assuming these issues
could be resolved, I think having this info in a table would be beneficial for
maintenance.




pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: create user problem
Next
From: Mark Volpe
Date:
Subject: Setuid functions