Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1whDec-0005Kk-1D for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Jul 2026 21:48:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1whDea-002pvt-2k for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Jul 2026 21:48:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1whDea-002pvg-1r for pgsql-hackers@lists.postgresql.org; Tue, 07 Jul 2026 21:48:33 +0000 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1whDeX-0000000035Q-0Eh0 for pgsql-hackers@lists.postgresql.org; Tue, 07 Jul 2026 21:48:30 +0000 Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-92e533aacf2so223890485a.2 for ; Tue, 07 Jul 2026 14:48:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1783460907; cv=none; d=google.com; s=arc-20260327; b=AD/hjQDpLYjtwzqd/Pz/77+LsBCyr49Y8eBNLPeqvTqd915cIHSssroSua7C4/n8cf G82zV/shQoaO2lzArkKghiy8c+DGSqfZ1NzIfru4KTMPU3yGeYMK5zlZFjTAEIEd8wFh +76I38ErVmMEcAeJd0Oh2GRwAjl6m1XynHOL0AYmBfp3rbv7XfRWX6a8CvTmNd//enBp CTWfVuMyyX8tVqpqkuuf2XcXowTFDIsdi+zjaDIVULKiPvzJjrRIXd2uPfxs4ect0Cel RpksuelKRqs6W5dw3aWw/HY1az3Aw+cP8LVKUTDYU0iTu9LmC7o0+VXAk+t8m2o6dtfh wErQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=QSU06Mhsyod+FkBLxNsZkvOETvWvRH0zNkvJ8mmgcbI=; fh=RWqCObr1bqDre2JQ+ZllPpGrRaij+48H2FAoZYLl4vc=; b=f9tOsYBH2NBAsxilEUqK0pYNhm480bIeBIwSZw7SNuqt4Kusy70RyELlRDF9pfpACf 9tg6vtihVdag4TQ57V1XqJZhZM3FAWox0Rr8f9okGDbGUtGxNecR96px6Tb7shMD6g+D 6E2bLrWEq84g6oslVnBmI9YrwYRdmKshmLV8db7M1HSiENwbr6glrYECPVeZw/da++XI cmeJz4vuTRvAgRRu7IDfIcWeRTSYSrYBPwHvotWBuWzb267WjI3lrJCbA0dbmxBJ8ysd jFs2S3iUeG8/yFihNNcMYxCLTzlmWU3wEoIr5khT5ujJOZLHeq8Evqvns3YCNofKdvN0 tDzA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1783460907; x=1784065707; darn=lists.postgresql.org; h=content-transfer-encoding:content-type:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to:content-type; bh=QSU06Mhsyod+FkBLxNsZkvOETvWvRH0zNkvJ8mmgcbI=; b=e/WTnS8q2sHBoyAun0EX9KAbtmtfnq9zc01rnhou0tWO/6/OQg1IfjPpdlVej8oS13 jCXB1jorEsJIw1/c/JCIyUG77hQFhmD6JL533sMfyk0nPBdMBQH1zl6kJnQx5lmnYtqP L7fSI+RbMh7WO+YcvZgC92pd88FATnRWtpMcdGihlQEqVsBMoXR26dnNNiHOkNXy3gKS /+58CVdQvEMI9Svagydu+GmAKCb7W8qZdy5Zl7+WpJjXY3igPAupJjwnIBY2401LTxNS h6jWLT0NH62HhEpMWWtOs8g/AZsJqv1UF5KbuhcK3CHnTQ1fDY/RZgb4Wgj2YfIf6E/w WMMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783460907; x=1784065707; h=content-transfer-encoding:content-type:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=QSU06Mhsyod+FkBLxNsZkvOETvWvRH0zNkvJ8mmgcbI=; b=kMKaAWQkmRYWSEFkcVg0HsERI0ofozmEoqhsULVcPRX9nYOHZsXFsA/88QHT03+VCp 84zI1HNHe6x9wK6aMbk/vS8zwqqDs3UNtOCCS1f2lb+BR/VzZf5Q9k4BkIYYmsUwhRMn zaJ26id2CKjqe3u3FqNEQiTX01Gcb4/PzoSxtBOVQhN9+6I+5eF33qDfvr/4JvQUm3Wi 6ufYhH6IRuo426ouERqgYlOt4QZEN8+L66Yj01X345hxJCCCyt0MJhbWC9g8rcEmNFZ9 6bDuqWHC8c2BEQKD53Xw6ATiJO0k8q3SSVMe9nDhsO3cM/6XZOsa3HMzUzkEORSg7GVT Aayw== X-Forwarded-Encrypted: i=1; AHgh+RoTPGXUQ5BFeIDcBJoAI6hluymIo7Qe/3h+2Vhlt6dptc3PJ7vIxtaLQZEWyWXIUiyYFv44ACudZ5FWCAYl@lists.postgresql.org X-Gm-Message-State: AOJu0YxBi34cMCdWUr4XtuwG6xWtm249rJxgkN2YLQO8KjNM9Rjo/tlv VCyKkVWA+GkWNqcsjfQMc7051tWVOxQHSm0vpv+yHG8h2UNJ3EhSGUvzPXLYItcKIU8/EkWMZPv pn1eYhUkJlZaQ9zOas6Fr/C3ty2SZ30Q+5rsQaTCl X-Gm-Gg: AfdE7cnZq3C81JbZhrt4+hL9+/F7fMZdjxgTTyp9ommyZKgg+17b7oup81MZac3fN+N akVwMYHImHl2N2C94vHlkHMyfwthv+hppTGuWRlAw+X6j5fHaqsAIDb2sq5wtLl01S3rbYUhWxa gxcC/aDfnQnZmCjHVysKbIZlVh8xj8rFNtxZncAR6j4kgAdASSrWWdtubJuGOIJmg8K7cGZHib9 ZdLhlfTZU03UwnC55xKH797VLBagoOETjd5DGJz+mAgUHTJlHXCatXqw2Kjj7o0BTl3e2+dRHc= X-Received: by 2002:a05:620a:45aa:b0:92e:c116:beee with SMTP id af79cd13be357-92ec116c37dmr479529485a.75.1783460907463; Tue, 07 Jul 2026 14:48:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jacob Champion Date: Tue, 7 Jul 2026 14:48:16 -0700 X-Gm-Features: AVVi8CctzSdoTjcRxdfnJps4M4K3dONKU_k7K6fTt1lI0vP89h9rd8jVqMlwPBM Message-ID: Subject: Re: Proposal: new file format for hba/ident/hosts configuration? To: Andrew Dunstan , Zsolt Parragi Cc: Tristan Partin , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Jul 7, 2026 at 2:21=E2=80=AFPM Andrew Dunstan = wrote: > I am really not a fan of implementing more and more little languages insi= de Postgres. Doing so will incur a non-zero maintenance burden. Sure, but the status quo has its own self-compounding maintenance burden, in which we'll either need to keep implementing little languages (as with pg_hosts.conf) or else finally decide to refactor. On Tue, Jul 7, 2026 at 10:00=E2=80=AFAM Zsolt Parragi wrote: > What do you think about this in general? About using TOML? About the > specific TOML format I suggested here? FWIW, I was recently looking at TOML for libpqrc [1]. Of the non-custom options you've presented, I prefer its feature set, so I think it's at least an interesting alternative to explore. I was especially interested in the pyproject.toml conventions, where different parts of the ecosystem all coexist in the same configuration space -- that might be important for letting libpq and other drivers move in parallel. I'd be most interested in a mockup of the "final state" you have in mind. That'd help highlight any need for homegrown syntax. (While postgresql.conf may be declared out-of-scope, it's hard to imagine we'd take steps towards an alternate format without some idea of what the central server config is going to look like in the end.) Thanks for working on this! --Jacob [1] https://postgr.es/m/CAOYmi%2BmhiTPmNxy9JDKh%2BpahDxz2OoxAf%3D-jq%2BG%2B= YUkHHqAGUA%40mail.gmail.com