postgresql/contrib/pageinspect
Tom Lane 382ceffdf7 Phase 3 of pgindent updates.
Don't move parenthesized lines to the left, even if that means they
flow past the right margin.

By default, BSD indent lines up statement continuation lines that are
within parentheses so that they start just to the right of the preceding
left parenthesis.  However, traditionally, if that resulted in the
continuation line extending to the right of the desired right margin,
then indent would push it left just far enough to not overrun the margin,
if it could do so without making the continuation line start to the left of
the current statement indent.  That makes for a weird mix of indentations
unless one has been completely rigid about never violating the 80-column
limit.

This behavior has been pretty universally panned by Postgres developers.
Hence, disable it with indent's new -lpl switch, so that parenthesized
lines are always lined up with the preceding left paren.

This patch is much less interesting than the first round of indent
changes, but also bulkier, so I thought it best to separate the effects.

Discussion: https://postgr.es/m/E1dAmxK-0006EE-1r@gemulon.postgresql.org
Discussion: https://postgr.es/m/30527.1495162840@sss.pgh.pa.us
2017-06-21 15:35:54 -04:00
..
expected pageinspect: Add bt_page_items function with bytea argument 2017-04-04 23:52:55 -04:00
sql pageinspect: Add bt_page_items function with bytea argument 2017-04-04 23:52:55 -04:00
.gitignore pageinspect: Add tests 2016-11-01 14:02:16 -04:00
Makefile pageinspect: Support hash indexes. 2017-02-02 14:19:32 -05:00
brinfuncs.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
btreefuncs.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fsmfuncs.c In pageinspect/hashfuncs.c, avoid crashes on alignment-picky machines. 2017-02-03 11:34:47 -05:00
ginfuncs.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
hashfuncs.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
heapfuncs.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
pageinspect--1.0--1.1.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
pageinspect--1.1--1.2.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
pageinspect--1.2--1.3.sql pageinspect/BRIN: minor tweaks 2014-12-02 12:20:50 -03:00
pageinspect--1.3--1.4.sql Add forgotten file in commit d6061f83a1 2015-11-25 16:59:07 +03:00
pageinspect--1.4--1.5.sql Update pageinspect extension for parallel query. 2016-06-09 17:18:09 -04:00
pageinspect--1.5--1.6.sql pageinspect: Add bt_page_items function with bytea argument 2017-04-04 23:52:55 -04:00
pageinspect--1.5.sql Update pageinspect extension for parallel query. 2016-06-09 17:18:09 -04:00
pageinspect--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
pageinspect.control pageinspect: Support hash indexes. 2017-02-02 14:19:32 -05:00
pageinspect.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
rawpage.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00