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.94.2) (envelope-from ) id 1qo8Kq-000GjS-4g for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Oct 2023 20:19:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qo8Kn-003sOB-Ob for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Oct 2023 20:19:06 +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.94.2) (envelope-from ) id 1qo8Kn-003sIR-E5 for pgsql-hackers@lists.postgresql.org; Wed, 04 Oct 2023 20:19:06 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qo8Kl-0002Ga-UQ for pgsql-hackers@lists.postgresql.org; Wed, 04 Oct 2023 20:19:05 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-5033918c09eso272934e87.2 for ; Wed, 04 Oct 2023 13:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696450742; x=1697055542; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dJCYHkiOWnvW92JKTlQVZXnv8pik6WTSgX3GDaKNrO8=; b=kTI+gJnJntBtx4BXnn3VTB3xXkzXB2bZ+KZmZ3SGReYd1EaNUk36a6B7nkOPthcqmE XF4r0gAOrpb4kOpoEomGIeA+hFObToOpKQwq1YhfKG70nT/n+cXB+ambg4tkIcZXhufW SwOcl4ZCb9LEtruhquu5HgdTO++9Z34VHm11AAvXEQTHB1TJkf+gyeVfr8kucyevWrop iUmRTfLVaXQE9RohpR9PNA7JFxMhrAk00uk1P4vYdi8LGtdYT/yP0TeuBV0L8w8rjlMs 6GCRUh8GUCiq69UfE4/LwVU5ZHkHfMb4PajnpLuH4ZFZWZNOJQk23WZHooN3jO3Xa4Y6 5kpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696450742; x=1697055542; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dJCYHkiOWnvW92JKTlQVZXnv8pik6WTSgX3GDaKNrO8=; b=Sdf68qfECnMIzVwb9xLEXbWJ11I8TuhAqv1dz1/pdt3yRqQyTwiKgxgMqmQb00/ntr razqrf5KbYyeRIseQ+UpuGRLeTkIMU4+5ABIe62qFjigW+PKo7vCL3lG1gb19p5VTk38 5iQ+tZmVtHD5FcT+4K9CCX7SI18IGhby3aRBkzdi77mR6Jbh8Vh6hOaNy/zQq6QnxkpF Tp6Kor/oZRoSHgbfCu6OoY9EXHFfB2vDe9U9b205DM1OGn7HyCclDbVW9QyUq0M0ZmWe EcX/uL1WDojNnaOl7eKtH1cED0REojY/1NX1vDKYgQnKBxNLQx+784xL6ttb8IXnA74F z6Ug== X-Gm-Message-State: AOJu0YyU/cq6vVcH3tAT9UOOMqDhEZy+L5z4q+uVLByvXjcBFvHiG+AZ ZKx6ig0mAOCQGMlmBN1gWw5nUEVnwSVyYzlFfJ0= X-Google-Smtp-Source: AGHT+IEiKRWv57wY0YhK8K5DnMRYYKnL2MtVTAc3XXBkvY0gRN8FWKXJkasvMFk2Iulq6lw/vxUsj1XX3bPWSxtvYwM= X-Received: by 2002:a05:6512:46e:b0:503:3675:9ba with SMTP id x14-20020a056512046e00b00503367509bamr2594578lfd.26.1696450741418; Wed, 04 Oct 2023 13:19:01 -0700 (PDT) MIME-Version: 1.0 References: <997377b9-b2c7-452d-75af-eca6668d6e77@uni-muenster.de> In-Reply-To: <997377b9-b2c7-452d-75af-eca6668d6e77@uni-muenster.de> From: Robert Haas Date: Wed, 4 Oct 2023 16:18:50 -0400 Message-ID: Subject: Re: Add annotation syntax to pg_hba.conf entries To: Jim Jones Cc: PostgreSQL Hackers , Daniel Gustafsson , Peter Eisentraut 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 Wed, Oct 4, 2023 at 4:06=E2=80=AFPM Jim Jones wrote: > Any thoughts? You're probably not going to like this answer very much, but this doesn't seem particularly worthwhile to me. If somebody needs to document why they did something in pg_hba.conf, they can already put a comment in the file to explain that. Or they can track the reasons for what's in the file using some completely external system, like a Google document or a git repository or whatever. The argument for this feature is not that this information needs to exist, but that it needs to be queryable from within PostgreSQL. And I guess I just wonder if that is something that users in general want. It's not a terrible idea or anything, but it would be sad if we added such a feature and you were the only one who ever used it... and if a bunch of people now show up and say "actually, this would be great, I would totally like to have that," well, then, forget I said anything. --=20 Robert Haas EDB: http://www.enterprisedb.com