Re: pgsql: Add sample text search dictionary templates and parsers, to

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add sample text search dictionary templates and parsers, to
Date: 2007-10-16 14:05:27
Message-ID: 15136.1192543527@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)net> writes:
> Do we expect there might be more like this? We could easily add a rule
> to Install.pm to know about DICTFILES rules in addition to DATA
> rules..

Yeah, after sleeping on it I think we need a general-purpose solution.
There are likely to be more not fewer tsearch-related contrib modules
in future; and even if you don't believe that, people will certainly
want to use the PGXS infrastructure to build add-on dictionaries.
So we should provide a DATA-like macro to specify installing stuff
into $SHAREDIR/tsearch_data/, instead of making everyone reinvent the
hack that's currently in dict_xsyn/Makefile.

I was going to propose calling it DATA_TSEARCH, but DICTFILES would
work too. Any preferences?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2007-10-16 14:56:51 pgsql: Add doc clarifications for warm standby.
Previous Message Magnus Hagander 2007-10-16 12:14:33 pgsql: Update URLs to a couple of external projects

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Kreen 2007-10-16 15:29:34 [RFC] extended txid docs
Previous Message Hans-Juergen Schoenig 2007-10-16 13:04:18 Re: support for hyper-long transactions ...