Dave Page <dpage(at)postgresql(dot)org> writes:
> Should this work, or at least give a more appropriate error message?
> demo=# CREATE TYPE pg_catalog.mytype AS (data text);
> ERROR: permission denied to create "pg_catalog.mytype"
> DETAIL: System catalog modifications are currently disallowed.
Seems like a perfectly appropriate error message to me: it's disallowed.
regards, tom lane