ERROR: text search configuration "pg_catalog.english" does not exist

Поиск
Список
Период
Сортировка
От Tim Child
Тема ERROR: text search configuration "pg_catalog.english" does not exist
Дата
Msg-id 27A81C20-AF22-4205-8D38-74F3F03A18BB@timc3.com
обсуждение исходный текст
Ответы Re: ERROR: text search configuration "pg_catalog.english" does not exist  (Richard Huxton <dev@archonet.com>)
Re: ERROR: text search configuration "pg_catalog.english" does not exist  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi, I am trying to configure Full Text Search on PostgreSQL 8.3 but I seem to be missing pg_catalog.english as I get the follow when I try and do this:

ALTER TABLE useraccounts_contact ADD COLUMN notes_tsv tsvector;
CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE ON useraccounts_contact FOR EACH ROW EXECUTE PROCEDURE tsvector_update_trigger(body_tsv, 'pg_catalog.english', notes);
CREATE INDEX useraccounts_contact_entry_tsv ON useraccounts_contact USING gin(notes_tsv);
UPDATE useraccounts_contact SET notes_tsv =to_tsvector(notes);

Error:

ERROR:  text search configuration "pg_catalog.english" does not exist
SQL state: 42704

In my postgresql.conf  I have the following:

# default configuration for text search
default_text_search_config = 'pg_catalog.english'



Thanks in advance.


Tim Child





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

Предыдущее
От: "Adam Rich"
Дата:
Сообщение: Re: How to convert postgres timestamp to date: yyyy-mm-dd
Следующее
От: "Robert Haas"
Дата:
Сообщение: Re: contributing patches