Re: tsearch Parser Hacking

Поиск
Список
Период
Сортировка
Искать
От
Oleg Bartunov
Тема
Re: tsearch Parser Hacking
Дата
Msg-id
Pine.LNX.4.64.1102151038010.278@sn.sai.msu.ru
Ответ на
Список
Дерево обсуждения
tsearch Parser Hacking "David E. Wheeler" <david@kineticode.com>
Re: tsearch Parser Hacking Tom Lane <tgl@sss.pgh.pa.us>
Re: tsearch Parser Hacking "David E. Wheeler" <david@kineticode.com>
Re: tsearch Parser Hacking Sushant Sinha <sushant354@gmail.com>
Re: tsearch Parser Hacking Thom Brown <thom@linux.com>
Re: tsearch Parser Hacking David Blewett <david@dawninglight.net>
Re: tsearch Parser Hacking Oleg Bartunov <oleg@sai.msu.su>
Re: tsearch Parser Hacking "David E. Wheeler" <david@kineticode.com>
Re: tsearch Parser Hacking Jesper Krogh <jesper@krogh.cc>
Re: tsearch Parser Hacking Oleg Bartunov <oleg@sai.msu.su>
Re: tsearch Parser Hacking Oleg Bartunov <oleg@sai.msu.su>
Re: tsearch Parser Hacking "David E. Wheeler" <david@kineticode.com>
Re: tsearch Parser Hacking Oleg Bartunov <oleg@sai.msu.su>
On Mon, 14 Feb 2011, Tom Lane wrote:

> "David E. Wheeler"  writes:
>> Is it possible to modify the default tsearch parser so that / doesn't get lexed as a "file" token?
>
> There is zero, none, nada, provision for modifying the behavior of the
> default parser, other than by changing its compiled-in state transition
> tables.
>
> It doesn't help any that said tables are baroquely designed and utterly
> undocumented.

what do you mean 'baroquely' ? Do you know 'gothic' design :?

>
> IMO, sooner or later we need to trash that code and replace it with
> something a bit more modification-friendly.

We thought about configurable parser, but AFAIR, we didn't get any support 
for this at that time.
	Regards,		Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

В списке pgsql-hackers по дате отправления
От: David E. Wheeler
Дата:
Сообщение: Re: tsearch Parser Hacking
От: Oleg Bartunov
Дата:
Сообщение: Re: tsearch Parser Hacking
FAQ