| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера