parens cleanup
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-01-29T20:04:01Z
Lists: pgsql-hackers
Attachments
- 0001-Remove-excess-parens-in-ereport-calls.patch (text/x-diff)
Some ereport calls have excess sets of parentheses. patch 0001 removes the ones I found in a very quick grep. 0002 removes newlines immediately following parens. These were previously useful because pgindent would move arguments further to the left so that the line would fit under 80 chars. However, pgindent no longer does that, so the newlines are pointless and ugly. These being cosmetic cleanups, they're not intended for backpatch, though an argument could be made that doing that would save some future backpatching pain. If ther are sufficient votes for that, I'm open to doing it. (Of course, 0002 would not be backpatched further back than pg10, the first release that uses the "new" pgindent rules.) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Clean up newlines following left parentheses
- c9d297751959 13.0 landed
-
Remove excess parens in ereport() calls
- 4e89c79a52f8 13.0 landed