not able to setup tsearch2 synonym dictionary

Поиск
Список
Период
Сортировка
От Rajesh Kumar Mallah
Тема not able to setup tsearch2 synonym dictionary
Дата
Msg-id a97c77030708090246n7e8ec44bo1d3184eba8db742a@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin
Hi ,

I am trying to setup a synonym dictionary setup using instructions in

http://people.planetpostgresql.org/mha/index.php?/archives/118-Custom-synonym-dictionaries-in-tsearch2.html

after following  all the steps lexize is not doing the expected eg

tradein_clients=# SELECT * from  public.pg_ts_dict where dict_name='pg_dict';
-[ RECORD 1 ]---+-------------------------------------------
dict_name       | pg_dict
dict_initoption | /opt/usr/local/pgsql/share/contrib/pg_dict
dict_comment    | pg-specific dictionary
dict_init       | syn_init(internal)
dict_lexize     | syn_lexize(internal,internal,integer)

tradein_clients=# \!cat /opt/usr/local/pgsql/share/contrib/pg_dict
postgresql postgres
pgsql postgres
postgre postgres
tradein_clients=# \pset null NULL
Null display is "NULL".
tradein_clients=# select
lexize('pg_dict','postgresql'),lexize('pg_dict','pgsql');
-[ RECORD 1 ]
lexize | NULL
lexize | NULL


The expected result is

lexize| {postgres}
lexize| {postgres}

can any one pls tell where things might have gone wrong?

regds
mallah

В списке pgsql-admin по дате отправления:

Предыдущее
От: pingu.freak@web.de
Дата:
Сообщение: Re: Specific questions about wraparound and vacuum
Следующее
От: smiley2211
Дата:
Сообщение: Delete COLUMN data