| From: | Aleksander Alekseev <aleksander(at)tigerdata(dot)com> | 
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> | 
| Cc: | Nathan Bossart <nathandbossart(at)gmail(dot)com>, Arseniy Mukhin <arseniy(dot)mukhin(dot)dev(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Michael Paquier <michael(at)paquier(dot)xyz> | 
| Subject: | Re: [PATCH] pg_bsd_indent: improve formatting of multiline comments | 
| Date: | 2025-10-27 12:13:33 | 
| Message-ID: | CAJ7c6TMTzQsnKfM+_4i-4WO7=YnV4nO8ABWA6enSpdtg6DKhqQ@mail.gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
Hi Nathan,
> > 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.
OK, here is the corrected patch v5.
-- 
Best regards,
Aleksander Alekseev
| Attachment | Content-Type | Size | 
|---|---|---|
| v5-0001-pgindent-improve-formatting-of-multiline-comments.patch | text/x-patch | 2.3 KB | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexander Korotkov | 2025-10-27 12:13:36 | Re: Add SPLIT PARTITION/MERGE PARTITIONS commands | 
| Previous Message | Maxim Orlov | 2025-10-27 11:48:43 | Re: AIO writes vs hint bits vs checksums |