Re: Proposal: syntax of operation with tsearch'sconfiguration - Mailing list pgsql-hackers

From Markus Schiltknecht
Subject Re: Proposal: syntax of operation with tsearch'sconfiguration
Date
Msg-id 455F42AF.50404@bluegap.ch
Whole thread Raw
In response to Re: Proposal: syntax of operation with tsearch'sconfiguration  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Hi,

Peter Eisentraut wrote:
> Are there any issues with tsearch2 not in core?

I have run into troubles when restoring a dump, especially across 
different versions of PostgreSQL and tsearch2. Mainly because pg_ts_* 
are not system tables and thus need to be restored or installed separately.

And there still is the packaging issue which needs to be addressed. It's 
not complicated, but a PITA to compile stemmers and setup custom 
dictionaries.

What's really needed IMO is a clever packaging, including stemmers and 
dictionaries for as many languages as we can come up with. So on a 
debian system, it should become as simple as:

apt-get install postgresql-contrib-8.3
apt-get install postgresql-language-pack-english-8.3
apt-get install postgresql-language-pack-german-8.3
apt-get install postgresql-language-russian-german-8.3

Inclusion into core surely does not help with that.

Relabeling contrib to modules or extras or something would probably give 
some people a warm fuzzy feeling when installing. OTOH, these are 
probably the very same people who get excited about tsearch2 in core, so 
if we want to satisfy them, we better put it right into core... I dunno.

Regards

Markus


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Custom Data Type Question
Next
From: "Matt Miller"
Date:
Subject: Re: [GENERAL] Allowing SYSDATE to Work