Re: Auto-analyse vs manual analyze

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Auto-analyse vs manual analyze
Дата
Msg-id 3256926.1607447503@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Auto-analyse vs manual analyze  (Mai Peng <maily.peng@webedia-group.com>)
Список pgsql-admin
Mai Peng <maily.peng@webedia-group.com> writes:
> Is there a difference between an autoanalyze and a manual analyze ?

autoanalyze runs with a restrictive search_path setting.

> I got an error when I simply select from a function

This suggests that your function isn't being sufficiently careful
to schema-qualify names it uses.  (If you don't want to change the
function text, adding a SET clause to force the desired search_path
would work, though it does carry a bit of performance penalty.)

            regards, tom lane



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

Предыдущее
От: Mai Peng
Дата:
Сообщение: Auto-analyse vs manual analyze
Следующее
От: Scott Ribe
Дата:
Сообщение: 12 to 13 migration, the privs error with pg_pltemplate