Re: Add more sanity checks around callers of changeDependencyFor() - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Add more sanity checks around callers of changeDependencyFor()
Date
Msg-id 37381c7f-3f9a-c23b-47a9-211220afca70@eisentraut.org
Whole thread Raw
In response to Add more sanity checks around callers of changeDependencyFor()  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Add more sanity checks around callers of changeDependencyFor()
List 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 by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Avoid overflow with simplehash
Next
From: Andres Freund
Date:
Subject: Re: Avoid overflow with simplehash