Re: Filtering dictionaries support and unaccent dictionary - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: Filtering dictionaries support and unaccent dictionary
Date
Msg-id 4A7AE83E.3070708@sigaev.ru
Whole thread Raw
In response to Re: Filtering dictionaries support and unaccent dictionary  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Filtering dictionaries support and unaccent dictionary  (Robert Haas <robertmhaas@gmail.com>)
List 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@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Adding error message "source"
Next
From: Tom Lane
Date:
Subject: Re: Re: [Pg-migrator-general] Composite types break pg_migrated tables