Re: pgindent && weirdness
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Thomas Munro <thomas.munro@gmail.com>,
Michael Paquier <michael@paquier.xyz>,
Pg Hackers <pgsql-hackers@lists.postgresql.org>,
Piotr Stefaniak <postgres@piotr-stefaniak.me>
Date: 2020-05-15T22:18:34Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes: > On 2020-May-16, Thomas Munro wrote: >> Here's the patch I propose to commit to pg_bsd_indent, if the repo >> lets me, and here's the result of running it on the PG tree today. > Looks good. Of all these changes in PG, only two are of the STACK_OK() > nature, and there are 38 places that get better. It should also be noted that there are a lot of places where we've programmed around this silliness by artificially breaking conditions using IsA() into multiple lines. So the "38 places" is a lowball estimate of how much of a problem this has been. regards, tom lane
Commits
-
Run pgindent with new pg_bsd_indent version 2.1.1.
- fa27dd40d5c5 13.0 landed
-
Final pgindent run with pg_bsd_indent version 2.1.
- e02ad575d8ab 13.0 landed