]> granicus.if.org Git - postgresql/commit
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)
commit592c88a0d2d9059576ad4f823dcc6e1ffbd1acfc
treed53cf4db92c4972e45c5e47b1174d89dac23c7f1
parent07d0a370c13545755aec57839530fe14e83be092
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