pgsql: Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline.

2022-11-21 Thread Tom Lane
Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline. I just spent an annoying amount of time reverse-engineering the 100%-undocumented API between ts_headline and the text search parser's prsheadline function. Add some commentary about that while it's fresh in mind. Also remove some u

pgsql: Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline.

2022-11-21 Thread Tom Lane
Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline. I just spent an annoying amount of time reverse-engineering the 100%-undocumented API between ts_headline and the text search parser's prsheadline function. Add some commentary about that while it's fresh in mind. Also remove some u

pgsql: Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline.

2022-11-21 Thread Tom Lane
Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline. I just spent an annoying amount of time reverse-engineering the 100%-undocumented API between ts_headline and the text search parser's prsheadline function. Add some commentary about that while it's fresh in mind. Also remove some u

pgsql: Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline.

2022-11-21 Thread Tom Lane
Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline. I just spent an annoying amount of time reverse-engineering the 100%-undocumented API between ts_headline and the text search parser's prsheadline function. Add some commentary about that while it's fresh in mind. Also remove some u

pgsql: Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline.

2022-11-21 Thread Tom Lane
Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline. I just spent an annoying amount of time reverse-engineering the 100%-undocumented API between ts_headline and the text search parser's prsheadline function. Add some commentary about that while it's fresh in mind. Also remove some u

pgsql: Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline.

2022-11-21 Thread Tom Lane
Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline. I just spent an annoying amount of time reverse-engineering the 100%-undocumented API between ts_headline and the text search parser's prsheadline function. Add some commentary about that while it's fresh in mind. Also remove some u