Add more sanity checks around callers of changeDependencyFor()

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Add more sanity checks around callers of changeDependencyFor()
Дата
Msg-id ZJzD/rn+UbloKjB7@paquier.xyz
обсуждение исходный текст
Ответы Re: Add more sanity checks around callers of changeDependencyFor()  (Heikki Linnakangas <hlinnaka@iki.fi>)
Re: Add more sanity checks around callers of changeDependencyFor()  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
Hi all,

While working on a different patch, I have noted three code paths that
call changeDependencyFor() but don't check that they do not return
errors.  In all the three cases (support function, extension/schema
and object/schema), it seems to me that only one dependency update is
expected.

I am adding that to the next CF.  Thoughts or comments about the
attached?
--
Michael

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Changing types of block and chunk sizes in memory contexts
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Changing types of block and chunk sizes in memory contexts