On Tuesday, March 15, 2022, Tom Lane <
tgl@sss.pgh.pa.us> wrote:
> Is there any recommendation you would have for mitigation besides not
> dropping functions that may be used by generated columns?
I don't see any good user-level workaround :-(.
Create a dummy view that simply calls the function with null inputs. That view then will at least enforce the dependency.
David J.