pgsql: Replace the now-incompatible-with-core contrib/tsearch2 module

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Replace the now-incompatible-with-core contrib/tsearch2 module
Date: 2007-11-13 21:02:29
Message-ID: 20071113210229.C7F0F7540F0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Replace the now-incompatible-with-core contrib/tsearch2 module with a
compatibility package. This supports importing dumps from past versions
using tsearch2, and provides the old names and API for most functions
that were changed. (rewrite(ARRAY[...]) is a glaring omission, though.)

Pavel Stehule and Tom Lane

Modified Files:
--------------
pgsql/contrib/tsearch2:
Makefile (r1.19 -> r1.20)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/Makefile?r1=1.19&r2=1.20)
pgsql/contrib/tsearch2/expected:
tsearch2.out (r1.24 -> r1.25)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/expected/tsearch2.out?r1=1.24&r2=1.25)
pgsql/contrib/tsearch2/sql:
tsearch2.sql (r1.13 -> r1.14)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/sql/tsearch2.sql?r1=1.13&r2=1.14)

Added Files:
-----------
pgsql/contrib/tsearch2:
tsearch2.c (r1.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsearch2.c?rev=1.1&content-type=text/x-cvsweb-markup)
tsearch2.sql.in (r1.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsearch2.sql.in?rev=1.1&content-type=text/x-cvsweb-markup)
uninstall_tsearch2.sql (r1.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/uninstall_tsearch2.sql?rev=1.1&content-type=text/x-cvsweb-markup)

Removed Files:
-------------
pgsql/contrib/tsearch2:
README.tsearch2
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/README.tsearch2)
common.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/common.c)
common.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/common.h)
crc32.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/crc32.c)
crc32.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/crc32.h)
dict.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict.c)
dict.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict.h)
dict_ex.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_ex.c)
dict_ispell.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_ispell.c)
dict_snowball.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_snowball.c)
dict_syn.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_syn.c)
dict_thesaurus.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_thesaurus.c)
ginidx.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ginidx.c)
gistidx.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/gistidx.c)
gistidx.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/gistidx.h)
prs_dcfg.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/prs_dcfg.c)
query.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query.c)
query.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query.h)
query_cleanup.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query_cleanup.c)
query_cleanup.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query_cleanup.h)
query_gist.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query_gist.c)
query_rewrite.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query_rewrite.c)
query_support.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query_support.c)
query_util.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query_util.c)
query_util.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query_util.h)
rank.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/rank.c)
snmap.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snmap.c)
snmap.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snmap.h)
stopword.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/stopword.c)
thesaurus
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/thesaurus)
ts_cfg.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ts_cfg.c)
ts_cfg.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ts_cfg.h)
ts_lexize.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ts_lexize.c)
ts_locale.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ts_locale.c)
ts_locale.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ts_locale.h)
ts_stat.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ts_stat.c)
ts_stat.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ts_stat.h)
tsvector.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsvector.c)
tsvector.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsvector.h)
tsvector_op.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsvector_op.c)
untsearch.sql.in
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/untsearch.sql.in)
wparser.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/wparser.c)
wparser.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/wparser.h)
wparser_def.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/wparser_def.c)
pgsql/contrib/tsearch2/docs:
tsearch-V2-intro.html
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/docs/tsearch-V2-intro.html)
tsearch2-guide.html
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/docs/tsearch2-guide.html)
tsearch2-ref.html
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/docs/tsearch2-ref.html)
pgsql/contrib/tsearch2/gendict:
Makefile.IN
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/gendict/Makefile.IN)
README.gendict
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/gendict/README.gendict)
config.sh
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/gendict/config.sh)
dict_snowball.c.IN
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/gendict/dict_snowball.c.IN)
dict_tmpl.c.IN
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/gendict/dict_tmpl.c.IN)
sql.IN
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/gendict/sql.IN)
pgsql/contrib/tsearch2/ispell:
Makefile
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ispell/Makefile)
regis.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ispell/regis.c)
regis.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ispell/regis.h)
spell.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ispell/spell.c)
spell.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ispell/spell.h)
pgsql/contrib/tsearch2/my2ispell:
Makefile
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/my2ispell/Makefile)
README
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/my2ispell/README)
pgsql/contrib/tsearch2/snowball:
Makefile
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/Makefile)
api.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/api.c)
api.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/api.h)
english_stem.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/english_stem.c)
english_stem.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/english_stem.h)
header.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/header.h)
russian_stem.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/russian_stem.c)
russian_stem.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/russian_stem.h)
russian_stem_UTF8.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/russian_stem_UTF8.c)
russian_stem_UTF8.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/russian_stem_UTF8.h)
utilities.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/snowball/utilities.c)
pgsql/contrib/tsearch2/stopword:
english.stop
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/stopword/english.stop)
russian.stop
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/stopword/russian.stop)
russian.stop.utf8
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/stopword/russian.stop.utf8)
pgsql/contrib/tsearch2/wordparser:
Makefile
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/wordparser/Makefile)
deflex.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/wordparser/deflex.c)
deflex.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/wordparser/deflex.h)
parser.c
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/wordparser/parser.c)
parser.h
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/wordparser/parser.h)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-11-13 21:04:45 pgsql: Re-add contrib/tsearch2 to the set of buildable contrib modules.
Previous Message Gregory Stark 2007-11-13 18:57:49 Re: [HACKERS] pgsql: Use strip -x on OS/X-darwinbecause non-"-x" causes link