Re: Subtle pg_dump problem...

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Subtle pg_dump problem...
Дата
Msg-id 40A2D639.4060406@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Subtle pg_dump problem...  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Subtle pg_dump problem...
Список pgsql-hackers
> It could not.  I think the fundamental point here is that it is a real
> bad idea for the tsearch routines to make any assumptions about the
> current search path.  What I would suggest is that the internal objects
> used by the tsearch routines (such as pg_ts_cfg) should be required to
> live in a specific schema ("tsearch2" seems like a good name) and that
> all the internal references inside the tsearch functions should be fully
> qualified names.

I think a better solution is to change tsearch2 to have two assumptions:

1. All tsearch2 objects will be loaded in the same schema, name not 
important.

2. When an object foo is called and needs to refer to another object 
bar, it should assume that bar exists in the same schema as foo, and NOT 
in the current search_path.

Chris



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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: UnixWare/Threads stuff [repost from March]
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: threads stuff/UnixWare