aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_numeric.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-04-09 12:36:59 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-04-09 12:36:59 -0400
commit1306edeae3b362b57b37b41e7b6a14406d03ebad (patch)
tree26b2e8c9088f4ac484a6e75857afb7c5e1d017ed /contrib/btree_gist/btree_numeric.c
parentf06d583c5ad7a6a129d846103225448861f2df0d (diff)
downloadpostgresql-1306edeae3b362b57b37b41e7b6a14406d03ebad.tar.gz
postgresql-1306edeae3b362b57b37b41e7b6a14406d03ebad.zip
Cosmetic improvements for default text search parser's ts_headline code.
This code was woefully unreadable and under-commented. Try to improve matters by adding comments, using some macros to make complicated if-tests more readable, using boolean type where appropriate, etc. There are a couple of tiny coding improvements too, but this commit includes (I hope) no behavioral change. Nonetheless, back-patch as far as 9.6, because a followup bug-fixing commit depends on this. Discussion: https://postgr.es/m/16345-2e0cf5cddbdcd3b4@postgresql.org
Diffstat (limited to 'contrib/btree_gist/btree_numeric.c')
0 files changed, 0 insertions, 0 deletions