diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-04-09 12:36:59 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-04-09 12:36:59 -0400 |
commit | b10f8bb9fd39da44efd411aec5c643b92bd23676 (patch) | |
tree | 031130f92f556a99bf23394bdda82552d39abb59 /src/backend/executor/nodeModifyTable.c | |
parent | e92e4a2b68fe877677278c1300db1780956c984e (diff) | |
download | postgresql-b10f8bb9fd39da44efd411aec5c643b92bd23676.tar.gz postgresql-b10f8bb9fd39da44efd411aec5c643b92bd23676.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 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions