Re: Add more sanity checks around callers of changeDependencyFor()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Add more sanity checks around callers of changeDependencyFor()
Дата
Msg-id 37381c7f-3f9a-c23b-47a9-211220afca70@eisentraut.org
обсуждение исходный текст
Ответ на Add more sanity checks around callers of changeDependencyFor()  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Add more sanity checks around callers of changeDependencyFor()  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 29.06.23 01:36, Michael Paquier wrote:
> 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.

Why can't changeDependencyFor() raise the error itself?




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

Предыдущее
От: Ranier Vilela
Дата:
Сообщение: Re: Avoid overflow with simplehash
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Avoid overflow with simplehash