Improve indentation of multiline initialization expressions.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 8 Apr 2023 15:48:36 +0000 (11:48 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 8 Apr 2023 15:48:45 +0000 (11:48 -0400)
commit064750af4f4ebab9c0d47d502c7ff7e3c9533f9f
treea35b3eb3c8ac0db0ac10f2a771143e72a510743e
parentbbec50de16d2bf6e1a2878ff0f7e39dbd86ecff8
Improve indentation of multiline initialization expressions.

If a variable has an initialization expression that wraps onto the
next line(s), pg_bsd_indent will now indent the continuation lines
one stop, instead of aligning them flush with the variable declaration.

We've been holding off applying this until the last v16 CF finished,
but now it's time.

Thomas Munro and Tom Lane

Discussion: https://postgr.es/m/20230120013137.7ky7nl4e4zjorrfa@awork3.anarazel.de
src/tools/pg_bsd_indent/args.c
src/tools/pg_bsd_indent/io.c
src/tools/pgindent/pgindent