aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/selfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-11-21 17:07:07 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-11-21 17:07:07 -0500
commit1aed4c4fd22b5643ac681be3d9617c4c7b1b0a19 (patch)
tree9d73db08f30580512db2667f58b45fbb555de904 /src/backend/utils/adt/selfuncs.c
parent4cbcb7ed85b0e235300059dbbbdb83aec4ec8eaf (diff)
downloadpostgresql-1aed4c4fd22b5643ac681be3d9617c4c7b1b0a19.tar.gz
postgresql-1aed4c4fd22b5643ac681be3d9617c4c7b1b0a19.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/utils/adt/selfuncs.c')
0 files changed, 0 insertions, 0 deletions