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 1vDXiB-00B4gF-64 for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Oct 2025 00:37:18 +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 1vDXi9-009z8U-2c for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Oct 2025 00:37:16 +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.94.2) (envelope-from ) id 1vDXi8-009z8M-PN for pgsql-hackers@lists.postgresql.org; Tue, 28 Oct 2025 00:37:15 +0000 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vDXi4-004bfV-20 for pgsql-hackers@lists.postgresql.org; Tue, 28 Oct 2025 00:37:15 +0000 Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-b6cf1a9527fso2751904a12.1 for ; Mon, 27 Oct 2025 17:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761611830; x=1762216630; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=UGYDWdYc+n96/ciyGwurrA2URD8eNqtRNsJ2lw1ng2A=; b=ScV3qvvvF7CeZTB3fmgYReuyiH19Ww/u5KLb38v0l3AEEbdbYMhAyI5nkbxrrPpmCW zz7gSGKJawOjukkk0eiKaqnDR29YFwnktLyoRFPL2iEyDU4O0HT6Hk62+tUQuPOUxzVR 6NFHYEafMNYUU2QV+rMl/xDAHW0qaLL2n7WFoiCciOmHeIZdsBf5+F7KwdVQZH1M/dnq v1WKF7Cwamhol25UP87Ao1mtBNrm2JUjKgnh2PmwJzeW6Uw80kZfKZlgWmGvx/kaEar4 LvMSURHtNJAUDPrbrXDumdV+tKwumRVT8DXAuKsrwFJFMbSdTu9PfvU2oxLvoa4Gspy0 fPjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761611830; x=1762216630; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UGYDWdYc+n96/ciyGwurrA2URD8eNqtRNsJ2lw1ng2A=; b=ODhH0UQkFqNzo7q38Egwg8o8TMkRxPVwfZlDmui9OOv17Ydq/cnIlx4dkcjr15r6kH syP1rrzRB15D234eFa60nZgC+BKk+8lhs4m5g2QQh3M6tx2l316v25/f11nT0VDRPnRL 4YH1ESn6Nz34HYsc3vYf0MnVvHsOsOGIKK9GYpwWTrOYWg+MphAR/R3CKjfvYLJSxGD8 2ywQjpnYMsPQ9RsHIfp7rzBKzjWpqbfRMHdADYjMFWUHOaMopHiyiTEFrN7Jb84vBID1 74xvCF2Mr/FXIqdw0XpgWZR9bCuMRfdQrn+bYRQ0WQvScyli4uNiXSqx1Ma1LCrlFibq +UqA== X-Forwarded-Encrypted: i=1; AJvYcCVlySmZ3eRopGcA66jhT59yCZJnOuYHfd5PudCM7V/KH7KXKxpoGStaYZwWObjWZ5cOxxlBMmwQJS5ALWOk@lists.postgresql.org X-Gm-Message-State: AOJu0YxwnEZAIwcDl8QdNvNg1D8PxRjtxctYG3XTHlcTNlS9bOIhadoF C9MiO2vyBa0XtbhIeXKIzkVtcVYP/NEWvoRL1xEbyABTfcEXQjCbw/JY X-Gm-Gg: ASbGncsuShaqukucPpj4mg7vdl/8a4VLnQvq3uvgo/8FgNQMSGaGxGFW0IP7b3dikXN nEqUi+y3RUmXMetZFSyb+nf3djgVvUcegFkYLlRXyRkStOK1PZWOTqvDTijJn76pGzoU/NDG63L ufQyfg+WgjNoC43kyRCL6k0AuFkqrysN3VvKycYgiuubXwNwmIzDi7SttpqgO/3YVrdNXlIgru7 oxdzsLso1h1LmVcPchxHfrYroE5cATNm5OIMTAdeZmSWyUpPjsUT0cg/T7MJXTjE0zMc5NRQz0s WYQX2gso2jfvX3F9N3ArPw7AIKhuEj/yUcmk6B/YPUQetF9s7muwbnsZ6ZL6k3nLdFRPQs7fR2f O0jfKFyJK3LZCwxQ/ON43BOmdZQBAkk4Zm3/kRqb/+rrIlUs1AI5hUG4VUatgMR4Ei69eu/81qn BjgcQ4SZndxuw= X-Google-Smtp-Source: AGHT+IEiZmnQ2nYhe6iIA+TurvxfiMMz8C5w8g+glGfx5xlx5ELoswLzqKvsvP+A1bXajmgINL++xA== X-Received: by 2002:a17:903:2f88:b0:282:2c52:508e with SMTP id d9443c01a7336-294cc6d60e6mr13547145ad.8.1761611829652; Mon, 27 Oct 2025 17:37:09 -0700 (PDT) Received: from smtpclient.apple ([170.178.170.211]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498e41132sm93983565ad.92.2025.10.27.17.37.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Oct 2025 17:37:09 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: [PATCH] pg_bsd_indent: improve formatting of multiline comments From: Chao Li In-Reply-To: Date: Tue, 28 Oct 2025 08:36:33 +0800 Cc: Nathan Bossart , Aleksander Alekseev , PostgreSQL Hackers , Arseniy Mukhin , Bruce Momjian Content-Transfer-Encoding: 7bit Message-Id: <7415F7DF-FA45-49E1-AC70-04868714DC8A@gmail.com> References: To: Michael Paquier X-Mailer: Apple Mail (2.3826.700.81) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Oct 28, 2025, at 07:35, Michael Paquier wrote: > > On Mon, Oct 27, 2025 at 09:55:38AM -0500, Nathan Bossart wrote: >> /* >> * DISABLE_LEADER_PARTICIPATION disables the leader's participation in >> * parallel index builds. This may be useful as a debugging aid. >> -#undef DISABLE_LEADER_PARTICIPATION >> + *#undef DISABLE_LEADER_PARTICIPATION >> */ >> >> IMHO we should either remove this line or move it out of the comment. >> AFAICT we ordinarily don't #undef debugging stuff like this, presumably so >> you can change it with compile flags. > > I would put this one on a separate line, outside the comment. It's > minor, still we use this style in pg_config_manual.h. See around > REALLOCATE_BITMAPSETS. > -- > Michael +1 -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/