pgsql: pgindent: ensure all C files end with a newline.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pgindent: ensure all C files end with a newline.
Date: 2026-03-27 19:39:04
Message-ID: E1w6D1L-001jtE-1M@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pgindent: ensure all C files end with a newline.

Not only is this good style, but it dodges some obscure bugs within
pg_bsd_indent. We could try to fix said bugs, but the amount of
effort required seems far out of proportion to the benefit.

Reported-by: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Author: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-by: Andrew Dunstan <andrew(at)dunslane(dot)net>
Discussion: https://postgr.es/m/CANxoLDfca8O5SkeDxB_j6SVNXd+pNKaDmVmEW+2yyicdU8fy0w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/79ac82125ef6608b8a1c7e089eea17476537467c

Modified Files
--------------
src/tools/pgindent/pgindent | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2026-03-27 19:58:51 pgsql: bufmgr: Make UnlockReleaseBuffer() more efficient
Previous Message Masahiko Sawada 2026-03-27 19:14:06 pgsql: doc: Clarify collation requirements for base32hex sortability.