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 1vToRm-00BXOB-2R for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Dec 2025 21:43:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vToRl-005KaK-0g for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Dec 2025 21:43:37 +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 1vToRk-005KaB-2W for pgsql-hackers@lists.postgresql.org; Thu, 11 Dec 2025 21:43:37 +0000 Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vToRj-000CsT-2W for pgsql-hackers@lists.postgresql.org; Thu, 11 Dec 2025 21:43:36 +0000 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-3f5ec7636e2so228401fac.2 for ; Thu, 11 Dec 2025 13:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765489414; x=1766094214; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=iZU5BcI6GmfKeMjKGrXelGpWzt25FtPd/Y97pfx8rZU=; b=OYfIqfAyrOnPgDWwUUynUo/pbu99nV9AvhlW7tRygVQY6aV+2+YGECsljWrBBLzGQ0 GSVSD+tIdlppnuOAslXTqyFxR4s9xedU8Be8mo41mmEAjjrDo31Xhk38IDkpz877DWBn 5o8WhBaTfvuTOtrxO4k8PnHek6UdOagjJvT2drYgh7cPI2dd+IEFdaEtP94ofpz4oa5e PFgFH0Df45QBeq/HsjzewCEe0LJXO0sCfC2JSlGpORfCn8jvCvRZMfnkL3Lef6ONfvm1 ISMV/spfL+zNJ8afNBTBpc8kJFEdPslrxjAIdmQleRm43OJIKxJy0/5JdyxbbFlICyNY G8Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765489414; x=1766094214; h=in-reply-to:content-disposition: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; bh=iZU5BcI6GmfKeMjKGrXelGpWzt25FtPd/Y97pfx8rZU=; b=nVHHsVPzk1Wz3eqfkU8G63PysfKW/9Y8rVvicGsdNAnSCg29Dm84D1m7wXEItE423v pPFoGafy+uUoI39eDzMkR222VmtSB9xKrnxc/bAmujE8kbLJMYGm/cWZQJ3ps0OJy3si NTmHK2Q3fTGYs7neMAJK4szGtWTUxHgDaQSRsdjDORViFWVBDh2gWbeR0EgxC7NbO7fJ q93+m36V28lm6Sqcr7wAttQDQPXmYIEw9xvMNhaz91DN0uZDbxGE8sboLkoeOnYgqmUH xXZ4iZiTZby/kIvdgpZSMUGGaJNlHKSsfj5yhQAQjA0vovDvkpFXyr+Y1lAIuohtcilS XFyQ== X-Forwarded-Encrypted: i=1; AJvYcCXF8Y1bG1ADnJtgoEyNCQabgbT+IRQ/UxAkShJiVvuDhaPYDp4edotsTqdvjRyByaSOF46D4GgIBfXK7o14@lists.postgresql.org X-Gm-Message-State: AOJu0YxUDsCeY3fFcTJpp9C6daUNRCmoX/P70zHrkxu+xt8j34bT+5Pa nn6y+640UYt3htsp1fF1G1i8akBuG97X/vNkPCNUmjcg+UarJBidbCEw X-Gm-Gg: AY/fxX4LAQjOndBmP1wG1gshzuC4UTQRfO28YAugjEm0+b+QIGJJC1LReVVFtHl0wOs vGtNV6UdJf7Vo/SV6PZRaMbiyAmbw4RJ5jY/jUra098puHcnc/oEjZL85RK1hM9eRFGjC01cRxd pOyfjJCgkMss7I3H4/UDA84UfGgmXnIn+Lb6KpOPzUJ+UewfHK6wLkBsvKNV4B2+soilyAm9pcA PSKv6isa0sIdwklnyxSPZ8RyJuzx9EsZ5jxDOw2YFn2H7yjuheKH4KXdyElHqaDcNAAoA2JF4nw wT5E5ZGR5pm7NBrpZc2ZT8bVg+yxnTZG2QyYVBvbyQdL23g83RaCHO2clNkP5xZg1zAdAkC6t9L zK7W60oBYqWx66aWYZ+i6c5+3URTPtxQb5W7ES6Gu+N0BWPSKTXCuVHQVxGmBTOHjCyGsef783p Pfu6iQ6D8a/igmo5K3p2wzeiwIp+k7t7+LK/KXCgOQXL6HloLYwJwcfq583Knt0JBpQlPI1Oytb 5o3 X-Google-Smtp-Source: AGHT+IFDTX7S7aFbu1ksbZMqk97Vn1Zj8ORbTvV3P07jwvl8MDgwtSywQw3TSzJraIKjoWdjuMZcEQ== X-Received: by 2002:a05:6870:65aa:b0:3c9:7378:39a9 with SMTP id 586e51a60fabf-3f5f86ac361mr62590fac.8.1765489414459; Thu, 11 Dec 2025 13:43:34 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-3f5d50ed3a7sm2382954fac.12.2025.12.11.13.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Dec 2025 13:43:33 -0800 (PST) Date: Thu, 11 Dec 2025 15:43:31 -0600 From: Nathan Bossart To: Chao Li Cc: Michael Paquier , Aleksander Alekseev , PostgreSQL Hackers , Arseniy Mukhin , Bruce Momjian Subject: Re: [PATCH] pg_bsd_indent: improve formatting of multiline comments Message-ID: References: <7415F7DF-FA45-49E1-AC70-04868714DC8A@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="6vjI3TbFXYVKYNF4" Content-Disposition: inline In-Reply-To: <7415F7DF-FA45-49E1-AC70-04868714DC8A@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --6vjI3TbFXYVKYNF4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 28, 2025 at 08:36:33AM +0800, Chao Li wrote: > 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. > > +1 Here's a patch for this. I also changed the #undefs to #defines. -- nathan --6vjI3TbFXYVKYNF4 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v1-0001-fix-some-commented-undefs.patch