| От | Tom Lane |
|---|---|
| Тема | Re: User function canceling VACUUMDB utility |
| Дата | |
| Msg-id | 23925.1284129533@sss.pgh.pa.us обсуждение |
| Ответ на | Re: User function canceling VACUUMDB utility (Carlos Henrique Reimer <carlos.reimer@opendb.com.br>) |
| Ответы |
Re: User function canceling VACUUMDB utility
|
| Список | pgsql-general |
Carlos Henrique Reimer <carlos.reimer@opendb.com.br> writes:
> Yes, you're right! I found out a functional index using this function and
> ANALYZE also cancels.
> Is there a way to code this function in a way VACUUM/ANALYZE does not
> cancel?
I think your problem is probably a search_path issue, ie vacuumdb is not
running with the "BRASIL" schema in its path so the column reference
fails to resolve. You should be able to add the schema name to the
%TYPE reference. Or, if you can't make that work, just don't use
%TYPE...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера