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

Поиск
Список
Период
Сортировка
Искать
От
Magnus Hagander
Тема
Re: pgsql: Add sample text search dictionary templates and parsers, to
Дата
Msg-id
20071016154212.GL22159@svr2.hagander.net
Ответ на
Список
Дерево обсуждения
pgsql: Add sample text search dictionary templates and parsers, to tgl@postgresql.org (Tom Lane)
Re: pgsql: Add sample text search dictionary templates and parsers, to Andrew Dunstan <andrew@dunslane.net>
Re: pgsql: Add sample text search dictionary templates and parsers, to Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Add sample text search dictionary templates and parsers, to Magnus Hagander <magnus@hagander.net>
Re: pgsql: Add sample text search dictionary templates and parsers, to Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Add sample text search dictionary templates and parsers, to Magnus Hagander <magnus@hagander.net>
Re: pgsql: Add sample text search dictionary templates and parsers, to Tom Lane <tgl@sss.pgh.pa.us>
On Tue, Oct 16, 2007 at 10:05:27AM -0400, Tom Lane wrote:
> Magnus Hagander  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?

DATA_TSEARCH seems better, it indicates where the files are going even
clearer.

//Magnus
В списке pgsql-committers по дате отправления
От: momjian@postgresql.org (Bruce Momjian)
Дата:
От: tgl@postgresql.org (Tom Lane)
Дата:
FAQ