diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-04-09 12:37:00 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-04-09 12:37:00 -0400 |
commit | 638519156ef096a0bf30cf017108b2cfa8625313 (patch) | |
tree | 3d3f893250c7938588b762756802212572795539 /src/tutorial/basics.source | |
parent | 7780660520b77b1ce050e63b2ab234068a108ee3 (diff) |
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 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions