Remove the aggregate form of ts_rewrite(), since it doesn't work as desired
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 24 Oct 2007 02:24:49 +0000 (02:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 24 Oct 2007 02:24:49 +0000 (02:24 +0000)
commit82845964949623fb233e1b90d5ecf6373ea0c09c
tree13caeaa0dec2e371a6c39acdc30d998df60da67c
parente218b3adc11fb0d638e59dbf150937ee461e01b2
Remove the aggregate form of ts_rewrite(), since it doesn't work as desired
if there are zero rows to aggregate over, and the API seems both conceptually
and notationally ugly anyway.  We should look for something that improves
on the tsquery-and-text-SELECT version (which is also pretty ugly but at
least it works...), but it seems that will take query infrastructure that
doesn't exist today.  (Hm, I wonder if there's anything in or near SQL2003
window functions that would help?)  Per discussion.
doc/src/sgml/textsearch.sgml
src/backend/utils/adt/tsquery_rewrite.c
src/include/catalog/catversion.h
src/include/catalog/pg_aggregate.h
src/include/catalog/pg_proc.h
src/include/tsearch/ts_type.h
src/test/regress/expected/tsearch.out
src/test/regress/sql/tsearch.sql