Re: BUG #4860: Indexes gone after restore

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4860: Indexes gone after restore
Дата
Msg-id 13528.1245350638@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #4860: Indexes gone after restore  ("Obe, Regina" <robe.dnd@cityofboston.gov>)
Список pgsql-bugs
"Obe, Regina" <robe.dnd@cityofboston.gov> writes:
> If you have an index on a function that calls another function where the function being called does not have the
namespacespecifically prefixed. 

This has nothing to do with either indexes or pg_dump.  A function that
calls another function, or references a table, or does much of anything
at all with other database objects, is responsible for schema-qualifying
those references if it expects to be callable with random settings of
search_path.

In some cases the most practical way to do this is to attach a "SET
search_path" option to the function rather than change its source code.
But in either case it's ultimately the function author's responsibility.

            regards, tom lane

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

Предыдущее
От: "Obe, Regina"
Дата:
Сообщение: Re: BUG #4860: Indexes gone after restore
Следующее
От: "Dmitry Ryabov"
Дата:
Сообщение: BUG #4861: Incorrect log_line_prefix default value in postgresql.conf