On Mon, 14 Feb 2011, Tom Lane wrote:

"David E. Wheeler" <da...@kineticode.com> 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: o...@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to