The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/17/ddl-depend.html
Description:
(ddl-depend.html)
> PostgreSQL will be aware that the get_color_note function depends on the
rainbow type: dropping the type would force dropping the function, because
its argument type would no longer be defined.
Maybe you should add that not only the function will be deleted, but also
the 'color' column of the 'my_colors' table?