On Sun, 15 Dec 2024 at 12:29, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
What I'd suggest as an improvement that could be implemented
immediately is to wrap the checks in a user-defined function
like "is_system_schema(nspname name)".
Would it make sense to make the parameter be of type regnamespace?