Re: tsearch2 dictionary that indexes substrings?

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Tilmann Singer <tils-pgsql(at)tils(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: tsearch2 dictionary that indexes substrings?
Date: 2007-04-24 08:21:29
Message-ID: 462DBE09.20304@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> My colleague who speaks more C than me came up with the code below
> which works fine for us. Will the memory allocated for lexeme be freed
Nice, except self-defined utf8 properties. I think it will be much better to use
pg_mblen(char*). In this case your dictionary will work with any supported by
pgsql encodings.

> by the caller?
Yes, of course.

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Felix Kater 2007-04-24 09:13:45 Re: PQerrorMessage: suppress trailing new line?
Previous Message Alban Hertroys 2007-04-24 08:12:19 Re: Slow query using simple equality operators