diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-21 17:07:07 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-21 17:07:29 -0500 |
commit | 5644d6f909b1bc92155741064275cda82d9b9b70 (patch) | |
tree | 81d9cc8192b7f315b85b6021ac0e6e37cbd2d017 /src/backend/executor/nodeMemoize.c | |
parent | f686ae82f2d7e29facde8300209deef7abe13605 (diff) | |
download | postgresql-5644d6f909b1bc92155741064275cda82d9b9b70.tar.gz postgresql-5644d6f909b1bc92155741064275cda82d9b9b70.zip |
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 unused macros in
wparser_def.c.
While at it, I noticed that when commit 78e73e875 added a
CHECK_FOR_INTERRUPTS call in TS_execute_recurse, it missed
doing so in the parallel function TS_phrase_execute, which
surely needs one just as much.
Back-patch because of the missing CHECK_FOR_INTERRUPTS.
Might as well back-patch the rest of this too.
Diffstat (limited to 'src/backend/executor/nodeMemoize.c')
0 files changed, 0 insertions, 0 deletions