Re: text search vs schemas
| От | Peter Eisentraut |
|---|---|
| Тема | Re: text search vs schemas |
| Дата | |
| Msg-id | 200708171026.41989.peter_e@gmx.net обсуждение |
| Ответ на | text search vs schemas (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: text search vs schemas
|
| Список | pgsql-hackers |
Am Freitag, 17. August 2007 05:15 schrieb Tom Lane:
> Actually ... I'm suddenly not happy about the choice to put text search
> configurations etc. into schemas at all. We've been sitting here and
> assuming that to_tsvector('english', my_text_col) has a well defined
> meaning --- but as the patch stands, *it does not*. The interpretation
> of the config name could easily change depending on search_path.
But that isn't different from any other part of the system. A proper fix
would be a mechanism to alleviate the confusion in all places, not simply to
remove features that cause such confusion in some places (but not all,
thereby causing inconsistencies).
> It does not seem likely that a typical installation will have so many
> text search configs that subdividing them into schemas will really be
> useful.
But schemas are not only used to organize objects because there are so many.
Altering the search path to get at a different implementation without having
to alter the names in every single place is also a useful application.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
В списке pgsql-hackers по дате отправления: