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 1vIhte-00B8Ge-0S for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Nov 2025 06:30:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vIhsc-004kcr-17 for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Nov 2025 06:29:26 +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 1vIhsc-004kbb-04 for pgsql-hackers@lists.postgresql.org; Tue, 11 Nov 2025 06:29:26 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vIhsX-007707-2e for pgsql-hackers@lists.postgresql.org; Tue, 11 Nov 2025 06:29:25 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-7b4933bc4bbso455194b3a.1 for ; Mon, 10 Nov 2025 22:29:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762842559; x=1763447359; 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=4x6tcfDButToO5UlYMVNSR77PNaUoe35FSEQhRyGpOc=; b=QGGQBQa2rZLOSZEphUDNiNnLYFGmK1ZPq4Iti/1AO6CvnmK8qOg1q+sNEFZyTwTfpo WBwfBPB6zUe5UWZnp9+EGcxSDie0Rcd6OiSScKNceY/cM20hLItlnplND2Q0dy2ao9Sv VVU7qU5q9LbAG6x5V4wVvuFYvZMuD55SkPpqqw1ue2HrjCXFTF75JCC2IpfZ5yxj9z+M Z+O4w2UHm6lbJferBxOua7HVWxlQPaaCU5LbhqIeWDe38sYvYS9pT/MaKQAAS0SckcCT XivWzemEnmQq+M6rZcbvrs8J+1l0LRkTb0/wz0A2s9IGVyZYsYxaWTgOp4Xmvg4+j4LN zXxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762842559; x=1763447359; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4x6tcfDButToO5UlYMVNSR77PNaUoe35FSEQhRyGpOc=; b=URnSkJv5aNmq23waYHqKhYVEvs8qeW/hOd17r5zU4Ncccb2LDnPhrUWH5/U4NkTLHi af8i5Quxdh+bCWhLX3L9E3bF8HYP9j/k6ZDzP4dd3VgPeDf6aUBg829afImlOon/PF0r CCK39hG3tUSyiifj81hn56w4Uk/67Mx5XEqmGJhUxoGsdMOWzeKa4kilNp5NAUJ4Fp0T Nnep/igZgt+OTWfMcPbYaKybLutOm1j+pwLtD+GEnRtbs0MsamPQSKmoPSzJKoENYgrR 4VE9auHQEtAaULfPmJLHTrVNPcWLQmoyMJeHp82KIUoIYLIDxGB4R/0Fa/ppmPzF+03q XF6g== X-Gm-Message-State: AOJu0Yzsxstvsnfzs5/tq+Jr9ZrllBYWftHHnlLZfCfq71ARCmRUR9tQ G3sR76KO1vqJ7P/ciZUozEhCpk0drsbx5mr1L0Kqp/ggScRs3GLQRvqt X-Gm-Gg: ASbGncsJFBHKgUcNi42nlFzfdO+gkQhZTgVdA0iD9BaOLeWpE34gpVeJrSFu9nzxNTb dZPwvil1fdMAnE0z9Hbi6YeoeNlXdPkMmNv8K2PuwU8sSvYCSYobAvRVsp2LTECPm8ZZbbtq3up di3jdL6CVGBXDdI9vA/vKh+IdWkGHmsyCbLmJZOo4Pin/xqvbs+EviVq1MPdWr1Lw8JFiiZYuPI cbRr6KwHzz1NxRfytj/ye3vRq+pxoBJ37Bzzh1o6oDxB5tAR1Wg8Iy225jbJ1ysw+g8q6jn8t/N Z+mju74yGR95zuxpCMescmYagbRY9rY8ny1C8Lei2Q6bxSNInmAL7kPqq31LrIAvyYJ+1cy7DoT p0Sa8mtLY+ZlTHwoNM6bozPYDRsgXRrLBrDEs7PHJu1wRZnH509jAklZ9WYI0+j+PeULhLmou0H WeuT/4Jjl90v1s1zS2EeIt X-Google-Smtp-Source: AGHT+IHdZpZ/fo8t16IhCmZIJo6NZXayuc/RIS90mN9qTxoLGhtt6Lf8jBO0i5Euhf0CpTFyQ7E+sw== X-Received: by 2002:a05:6a20:3949:b0:341:2c7b:ed13 with SMTP id adf61e73a8af0-35799e830dfmr3088078637.5.1762842559344; Mon, 10 Nov 2025 22:29:19 -0800 (PST) Received: from smtpclient.apple ([142.171.105.12]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7b0ccc59eb6sm14023345b3a.67.2025.11.10.22.29.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Nov 2025 22:29:18 -0800 (PST) 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, 11 Nov 2025 14:28:43 +0800 Cc: PostgreSQL Hackers , Nathan Bossart , Arseniy Mukhin , Bruce Momjian , Michael Paquier Content-Transfer-Encoding: quoted-printable Message-Id: References: <9AD706B0-B73A-4DCC-9A71-F924D8B74F4B@gmail.com> To: Aleksander Alekseev 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 Nov 10, 2025, at 17:28, Aleksander Alekseev = wrote: >=20 >> 1. I just ran the patched pgindent against a random file, then I got = a lot diffs like: >>=20 >> ``` >> /* >> - * Direct advancement: avoid waking non-caught up backends = that >> - * aren't interested in our notifications. >> + * Direct advancement: avoid waking non-caught up backends = that aren't >> + * interested in our notifications. >> */ >> ``` >=20 > I'm not sure if this is part of the PostgreSQL code base either. My > best guess is that something is wrong with whitespaces here (tabs vs > spaces). We have plenty of multiline comments like this and from what > I can tell they are processed correctly. I recalled that. I ran pgindent on a file from a patch I was reviewing, = so, the file was not pgindent-ed yet at the time. I just tried to run the patched pgindent on several files and no diff = generated. So this comment is resolved. Regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/