aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-04-09 12:37:00 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-04-09 12:37:00 -0400
commitff081d6bb8726e14c3bc1e8a24b4814b3d55ac25 (patch)
tree5e206eec853eb304b1242f06ee6df3c71a5260bb /doc/src
parentf179e9f01b65dd880b204599187ffff29ecba91e (diff)
downloadpostgresql-ff081d6bb8726e14c3bc1e8a24b4814b3d55ac25.tar.gz
postgresql-ff081d6bb8726e14c3bc1e8a24b4814b3d55ac25.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 'doc/src')
0 files changed, 0 insertions, 0 deletions