pgsql: Change example in pgindent README on "/*-----" comments.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Change example in pgindent README on "/*-----" comments.
Date: 2023-07-05 07:03:06
Message-ID: E1qGwXa-001zSc-6W@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Change example in pgindent README on "/*-----" comments.

Most, but not all, of our "/*----" style comments have an end-guard
line with dashes at the end of the comment. However, pgindent doesn't
care about the end-guards, so they mostly just waste screen
space. Going forward, let's not require end-guards.

Remove a broken end-guard in a comment in walsender.c that led me to
think about this. Remove the end guard from another comment in
walsender.c for consistency, so that we use the same style in all
comments in the file.

However, we have thousands of existing "/*----" comments the repository,
so it's not worth the code churn to change them all.

Discussion: https://www.postgresql.org/message-id/fb083c91-d490-3b65-25f3-05e9118b6b0d%40iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5e8068f04e13e12c182eca3e64ac4377e0c93a5d

Modified Files
--------------
src/backend/replication/walsender.c | 3 +--
src/tools/pgindent/README | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-07-05 08:54:09 pgsql: pg_waldump: Add more tests
Previous Message Daniel Gustafsson 2023-07-05 07:01:25 pgsql: Rename EVT cache hash to make context name unique