Re: custom tsearch2 parsers

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>, "Kevin Grittner" <Kgrittn(dot)CCAP(dot)Courts(at)wicourts(dot)gov>
Subject: Re: custom tsearch2 parsers
Date: 2009-04-07 20:43:55
Message-ID: 49DB74BB.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> It appears that I need to put together a custom parser for
> tsearch2.

Reality check: I need to find start and end locations for all matches
of a regular expression in a text object, very similar to what is done
by setup_regexp_matches in regexp.c for the regexp_split_* functions.
I'm assuming this is copy/paste for 8.4 and prior? (It would be nice
to have a function in regexp.c to return the information using the
existing code, but that's too late for 8.4 and not a candidate for
back patching?)

Just thought I'd confirm before duplicating that much code.

-Kevin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-04-07 21:11:08 Re: a few crazy ideas about hash joins
Previous Message Bruce Momjian 2009-04-07 20:22:33 Re: Closing some 8.4 open items