Re: Missing mapping in 8.3/tsearch2.sql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Missing mapping in 8.3/tsearch2.sql
Дата
Msg-id 13956.1239340251@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Missing mapping in 8.3/tsearch2.sql  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Missing mapping in 8.3/tsearch2.sql  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> The Tsearch2.sql compatibility fuctions in 
> /contrib/tsearch2/tsearch2.sql don't include an important compatibility 
> object.  For 8.2 Tsearch2 usage, a lot of queries were written calling 
> the "default" config, like:

> to_tsvector('default',somedata)

> In 8.3 this fails with a "No such config 'default'" error, even after 
> loading the compatibility SQL.  We need to add this to the compatibility 
> SQL generation code:

No, we should not.  It's up to the user to create a "default" config
that matches whatever they were using before.

Now, if you are volunteering to create a translation facility for the
whole contents of the old configuration tables, step right up and have
at it.  But we should *not* insert a bogus substitute configuration.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pg_restore dependencies
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Missing mapping in 8.3/tsearch2.sql