Re: Thoughts on a "global" client configuration?
Jacob Champion <jacob.champion@enterprisedb.com>
From: Jacob Champion <jacob.champion@enterprisedb.com>
To: Isaac Morland <isaac.morland@gmail.com>
Cc: Peter Eisentraut <peter@eisentraut.org>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2025-10-15T19:49:19Z
Lists: pgsql-hackers
On Wed, Oct 15, 2025 at 12:35 PM Isaac Morland <isaac.morland@gmail.com> wrote: > Maybe have a way to specify one or more "base" configurations for each service? For the use case I have in mind, my intention is that you shouldn't have to use a service at all to get these defaults to apply. > [service1] extends default > host=postgres.example.com > user=appuser Nested services is interesting as well. I don't think it solves my use case, because of a very subtle difference between defaults and services (I intend to go into more detail in the other email I'm typing up now). > I don't know how big a deal it is that this is no longer an "INI" file. We would almost certainly break some libpq-compatible software if we added new syntax. I don't know if that's a feature or a bug yet, but I do think it's avoidable, so I'm going to try to avoid it for now. Needs more thought. Thanks! --Jacob