| От | Tom Lane |
|---|---|
| Тема | Re: A very puzzling backup/restore problem |
| Дата | |
| Msg-id | 12087.1571955100@sss.pgh.pa.us обсуждение |
| Ответ на | Re: A very puzzling backup/restore problem (Adrian Klaver <adrian.klaver@aklaver.com>) |
| Список | pgsql-general |
Adrian Klaver <adrian.klaver@aklaver.com> writes:
> On 10/24/19 2:58 PM, stan wrote:
>> So, it appears that this means that the function cannot be found, even if it is in the new
>> (default) schema.
> The original error was not about finding the function it was about not
> finding the table in the function:
> psql:task_instance.dump:55: ERROR: relation "permitted_work" does not exist
> LINE 3: permitted_work
> ^
> You need to schema qualify the table name inside the function.
Or attach a SET clause to the function, so that it executes with a
known search_path regardless of the session's prevailing path.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера