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

From Michael Paquier
Subject Add more sanity checks around callers of changeDependencyFor()
Date
Msg-id ZJzD/rn+UbloKjB7@paquier.xyz
Whole thread Raw
Responses Re: Add more sanity checks around callers of changeDependencyFor()
Re: Add more sanity checks around callers of changeDependencyFor()
List 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

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Changing types of block and chunk sizes in memory contexts
Next
From: Andres Freund
Date:
Subject: Re: Changing types of block and chunk sizes in memory contexts