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:07 -0500 |
commit | 74670688faaec94d9177ac182c5516c5f1a7bb9c (patch) | |
tree | 8710ebc046674641f5b1cf0ed0bd03e1c638dc5c /src/backend/executor/nodeFunctionscan.c | |
parent | c13667b518e3ff21fd756b571302acd6f8688e45 (diff) | |
download | postgresql-74670688faaec94d9177ac182c5516c5f1a7bb9c.tar.gz postgresql-74670688faaec94d9177ac182c5516c5f1a7bb9c.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/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions