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 1x1ltG-005PMb-0K for pgsql-hackers@arkaria.postgresql.org; Wed, 02 Sep 2026 14:24:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x1ltF-00CmLR-0R for pgsql-hackers@arkaria.postgresql.org; Wed, 02 Sep 2026 14:24:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x1ltE-00CmLH-2j for pgsql-hackers@lists.postgresql.org; Wed, 02 Sep 2026 14:24:36 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x1ltC-00000002YaU-2psF for pgsql-hackers@postgresql.org; Wed, 02 Sep 2026 14:24:36 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-5b159850b16so1093956e87.3 for ; Wed, 02 Sep 2026 07:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788359073; x=1788963873; darn=postgresql.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=ZgQm50BUXULMn+Q2w/bEAhpHYUF8x2IgXy527zrxqaM=; b=W8JLjc3US2LUJC03/p2K6n/xLdMq1uUQ3bwA9cEdMMj+uFx0E1hBwo4zB46GEcRwIP hj4cSRbyhpwdTyK3CQhxn2dpfgXbqKwiuZErsqEVoqZRhg0f04KO6M/W+gCfhQK7yVH3 4TqGwoLzEo3S7QpwxJH3e9uXXL6DpURh5OWa7+zP7sjHgnZ6O4VfJUn2O910ckx8R7RJ ggd6/l79WdwDg5OgKTYT6M6WnokLgjsaRNJy9EZmL13ilwk9Cgq6wwglMCNNPyhQRwxS z2rDENNQBngKf16IIFsU9R/iZ+3p+ITnIGzLPP1EHfO2y9HNteHOaOrBbOJexnNOefWv kLPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788359073; x=1788963873; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=ZgQm50BUXULMn+Q2w/bEAhpHYUF8x2IgXy527zrxqaM=; b=FCjAIPoMGbfxqqavHPQDLDRB/stoaakHg8DE+xl+NLuTQulp6MyxragOAbYtfucbOe O8INftLfFZZGYTfMjeEF80aqllt9DfoAFx9ij0hW90fgziuU7UWsdm3CeLbFHrCkTr8A SfhknCB36u0s7q/CZXdW+/ruzvbzgBFi61uuSn21xpzCPGCbNt92fHXdcEFnliiJiSfO 6rVy/BravwKK5J7Ntmljz0hUEEVCy23vZP87B6+7sLt0vLNnfW1tsRoTd/9qEZrFU8Nx mnG9JyCmykmupltcFFU7aoHWyeP9h+CUfhYTKf6rCmlJcEzKH3Vg8hwEkeU9yKrWUnj8 bsrg== X-Forwarded-Encrypted: i=1; AKwUvBwTp85mh/AzCR8TUZmPL4ljBeGibDlbXmbubjY6NqK8Ap+RfcTE1sr163UiVFar33znlKh0JtZaQu9YlwNp@postgresql.org X-Gm-Message-State: AFuF++lOQvrilf9zYU6QIrAbl5+3A6utz2we2aV1uKZimYh010C5gSTe j9md8QKYfqR/ZsZxdwwkqbVQajAOjrzx3Qu6yMhlWy4AxKQW/xbqOJRO X-Gm-Gg: AYBFou3Oa8SoR3Qb3UjAqv0g8ruijdgGwVzsS16ReIaz6lloWfQt5NokjdpSUuRJDVr ZehQQertFEs63Wiv7cz7OUvF8Mi5a7XLKqf4r1ReKLBOlMrnCOv3xF9WjAZObbl8h/HAsS4HeO8 Ip1KhxpDTjFB7fSn3Ati/87wVwWdxxt1e/YBZjPk7uJ4xJHGQ8xDXvGR3gwN8yA+Ij4ODC/H+AR iUDWsLfsYd1WUJOCksNBNaDmq9LSIuZ2xqP5srs59oCryZX/FWGKz1M/7iRKv6KHBGr6oRX5+w7 3o0PL82ITGcvWVRNlCmhxjGZeRU8YffQ2zkRj7fUs9B5OaiN8zxDWAg1UdCJJxy3bNegr9CWGqR GS+V0o8ZOI4y1inPXxtO0Lm3wux/OfIz17TFyPiQC+F3798LlS7se/QZ//mAwfnanyJnmE0Tvau GlFnaAXQx3rzvPHACMZ3fxSE8W0MT2iwbKfFhJFLlEcp6O74sgkN3mG8pv0UZHFhPuhMsd0GjIf 7ctZVstV2lyrdi4au6qwDlKCbOgYoqU7gp9fzkdqKMCvIX9+XvVh0tC9c+5P9tSOSQmzRPicV+z EBbAj0pBJ9mvWOcl3+OZRpX5uw== X-Received: by 2002:a05:6512:3b25:b0:5b5:e2e3:4dd3 with SMTP id 2adb3069b0e04-5b6086996fbmr1747803e87.20.1788359073078; Wed, 02 Sep 2026 07:24:33 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5b606ba5cd4sm620991e87.64.2026.09.02.07.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Sep 2026 07:24:32 -0700 (PDT) Date: Wed, 2 Sep 2026 09:24:29 -0500 From: Nathan Bossart To: Chao Li Cc: Tom Lane , pgsql-hackers@postgresql.org Subject: Re: postgresql.conf.sample tab width Message-ID: References: <3230808.1763151915@sss.pgh.pa.us> <3238135.1763156048@sss.pgh.pa.us> <41771CC8-C51B-48E2-A37A-F79AEF88998A@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41771CC8-C51B-48E2-A37A-F79AEF88998A@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Sep 01, 2026 at 10:04:03AM +0800, Chao Li wrote: > On Aug 31, 2026, at 00:48, Nathan Bossart wrote: >> I noticed that initdb still adds tabs to postgresql.conf. Here is a patch >> to fix that, which simplifies replace_guc_value() a bit. > > The patch looks good to me. I tried generating a postgresql.conf with the > patch and diff-ing it against one generated without the patch. The > differences are just tabs vs. spaces between values and trailing comments > on some lines. Committed, thanks for looking. -- nathan