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 1vC1sB-00875H-Rv for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Oct 2025 20:25:23 +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 1vC1sA-00Ba4g-Rq for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Oct 2025 20:25:21 +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 1vC1sA-00Ba3H-HV for pgsql-hackers@lists.postgresql.org; Thu, 23 Oct 2025 20:25:21 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vC1s7-003rqw-1V for pgsql-hackers@lists.postgresql.org; Thu, 23 Oct 2025 20:25:21 +0000 Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-430da09aa87so6427275ab.2 for ; Thu, 23 Oct 2025 13:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761251117; x=1761855917; 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=GtP2Y5b3i5lm2s1rS3+cb5dH67BbU9ZtwwDMT+vhgTY=; b=OALIfOmaDtH+Fehm/D9EdUqQ+zgSWJyXWHP35SsWiby8hUne0GFJ11F27w0IGOakAR KJcJRJYx3dxhMh3Wewqm+z38mwmk4jOVpnR7usn4atdkjFJFjouGZwEwXXNzNZg5Qe/H vOafp0BQolwGOq+J8FphtzclLFb4p+22frRfQkVIXJXbRP7V5cKAYej5ZbWVXFuX/p8/ hVKSKEbCzjqc2Xsy8BakubYYwpVnmBMBBj7JxPAylNE/IjfDhDCYO+p+dPVpIamiTYh9 FWl8nGBD8SaN1D1xpFYBmpoR0y9kzo588r0H6326LwjvLolk5FEgWYttzL1QEeUnhaDA qqJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761251117; x=1761855917; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GtP2Y5b3i5lm2s1rS3+cb5dH67BbU9ZtwwDMT+vhgTY=; b=LNz5cFgC/YP1iAw8GcDBS9/e3PwTUDrPJKQRrnMUi97J1jcWKQg6C6Hx8WGSF+2O8p 3QrlHK8gF/wFGaiVVUGdYZal0VEx0qS/edNRDfRRcX40MZsMuSb3MaqTu0rV03/bY90H fHKc4ACcrO6Bzeq20GZqDRCnKAWlIrZynjfa1GbVLwl7oF+L+XtVIZwPhVVuX9pBmQqB 1QRVbgf0GInjtLTXNL8yCqjE0SGGvlDv1cjdqQJnd6qFHtoGhQ5WcAJGAb+REwAKRwre 413EGkP43BjK9wjSkQ7Ax68OpNxbUAsFOvwoJQUgEx6rZJXu9E4Zs+9MZt6C2lb3XyNN i5Fg== X-Gm-Message-State: AOJu0Yzo7Fn/ts2QSUOH8ssMZ5awuldq/R38qFS6p/xdyZKW07NM7unR yLeouFWXnW/RF3FHUrF7zTjKS9cI9odMgDxKlnXFPAblrQ8y+TgT1tqt X-Gm-Gg: ASbGncsZbG2TfkPBDwl5RFYNpfO519EF2cTykoctibrx5LL04QwJTIqr7EvNK2w1mnd DeswCe+kLK+lbj5BHtXvAnpGO0ZBIGu404fFdTVYAF33kcnZCVS0Z9XrMERnQ7C6i6hd08pGzLj yROlByQ1x+4aERXltwD+7Ofdmq4rrSIENUAhBkNcb6r8IcgyM3GTJ5DmrBCTmuz6glLtWNFTJdQ cnrB+j2JXDcoOKO3swITI6mxImyM5vvx2TONFNpsKk4E5sM+cD/NZ1+2XoQD++ayQPnSIK8bnar 7HtSt0cHvAuIr1ygKYistq7LcmeWnKDj3ErQ0V+Bm9JRpY8gJeDWJ537DOAR8XXCNZHsn/AZm5q XdL3s/dZbu0tASon7EOoWKAF8whF1u0CgQd+Cxn5Uz5s9DBCGkfAoYr8PQqJ/TtyZwAbh5LWd5L R/SzOOZeV4uZV/6uMSWjdTjIH+y826mJWbrTB50ujr8+I+lBYPL58vd5WyKu23NDYGnGv1jB/go qt3 X-Google-Smtp-Source: AGHT+IGq+4J4vdQrAp2Thq3vJvTsc2cBy6hQrglYeHOuHHQrzidIW3k+oPhJdGchofXplGpxQB2HMg== X-Received: by 2002:a05:6e02:17c8:b0:430:ae26:7c28 with SMTP id e9e14a558f8ab-430c524cea4mr176421635ab.1.1761251117520; Thu, 23 Oct 2025 13:25:17 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-5abb4e4c958sm1298507173.3.2025.10.23.13.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Oct 2025 13:25:16 -0700 (PDT) Date: Thu, 23 Oct 2025 15:25:15 -0500 From: Nathan Bossart To: Aleksander Alekseev Cc: PostgreSQL Hackers , Arseniy Mukhin , Bruce Momjian , Michael Paquier Subject: Re: [PATCH] pg_bsd_indent: improve formatting of multiline comments Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Jun 23, 2025 at 01:42:32PM +0300, Aleksander Alekseev wrote: >> Do we want to skip such comments? >> I have also seen comments with '====' border. > > Personally I don't have a strong opinion on this. We can easily add an > exception for "/* ---" and "/* ===" comments if somebody believes this > is a problem. I choose not to add such an exception just yet only > because I don't like unnecessary exceptions :) +1 for adding an exception for "/* -----" style comments. I tested running pgindent after applying the patch, and the first thing I noticed was all these (IMHO) unnecessary changes. I don't think it helps readability, and even if it did, it's arguably not worth the churn. -- nathan