Content-Length: 235207 | pFad | http://github.com/postgrespro/postgres_cluster/commit/b10f8bb9fd39da44efd411aec5c643b92bd23676

BC Cosmetic improvements for default text search parser's ts_headline code. · postgrespro/postgres_cluster@b10f8bb · GitHub
Skip to content

Commit b10f8bb

Browse files
committed
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
1 parent e92e4a2 commit b10f8bb

File tree

1 file changed

+176
-97
lines changed

1 file changed

+176
-97
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/b10f8bb9fd39da44efd411aec5c643b92bd23676

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy