Re: HBA files w/include support? - Mailing list pgsql-hackers

From Jeff Janes
Subject Re: HBA files w/include support?
Date
Msg-id CAMkU=1w2YVWu2zcAumQiqx_BBm1dgxfckUA-Gjxr5LMtsjOyEA@mail.gmail.com
Whole thread Raw
In response to Re: HBA files w/include support?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: HBA files w/include support?  (Jim Nasby <jim@nasby.net>)
List pgsql-hackers
On Fri, Feb 14, 2014 at 6:33 AM, Bruce Momjian <bruce@momjian.us> wrote:
On Fri, Feb 14, 2014 at 03:28:23AM -0500, Stephen Frost wrote:
> Bruce,

> Having @include and directory.d-style capabilities for pg_hba.conf *and*
> pg_ident.conf would make managing larger environments much better.
> There has been some talk about providing those capabilities via tables
> in the catalog, but I'm not aware of anyone working on it and it'd
> certainly be quite a bit more work than adding include/dir.d options.

Do we want a TODO for this?

If we are assembling a wish-list, I've often wanted the opposite of an include.  I want the ability to encapsulate the contents of pg_hba.conf directly into postgresql.conf.  So instead of giving a filename to hba_file, optionally give a multi-lined string with some kind of here-doc like mechanism, or something like that.

When I set up a forked dev environment and then eventually want to compare the diverged dev setup back to production, I often forget to compare the pg_hba.conf file.

Cheers,

Jeff

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Release schedule for 9.3.3?
Next
From: Alvaro Herrera
Date:
Subject: Re: Release schedule for 9.3.3?