this will make it incompatible with pg_get_table_ddl, because that function uses your code and might not return this way since the user could be cloning a table to a different schema.
I am not sure I understand. Could you provide an example, please? Thanks.