Re: Filtering dictionaries support and unaccent dictionary

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Filtering dictionaries support and unaccent dictionary
Date: 2009-08-06 14:27:10
Message-ID: 4A7AE83E.3070708@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Isn't that function leaking "res" pointer? Also, I'm curious why you're
fixed

> allocating 2*sizeof(TSLexeme) in unaccent_lexize ...
That's is a dictionary's interface part: lexize returns an array of TSLexeme and
last structure should have lexeme field NULL.

filter_dictionary file is not changed, it's attached only for consistency.
--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

Attachment Content-Type Size
unaccent-0.6.gz application/x-tar 5.9 KB
filter_dictionary-0.1.gz application/x-tar 1.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-08-06 14:28:29 Re: Re: [Pg-migrator-general] Composite types break pg_migrated tables
Previous Message Magnus Hagander 2009-08-06 14:23:11 Re: Adding error message "source"