hi.
will+ if (!IsA(rln, RangeVar))+ ereport(ERROR,+ errcode(ERRCODE_FEATURE_NOT_SUPPORTED),+ errmsg("CREATE STATISTICS onlysupports regular tables, materialized views, foreign tables, andpartitioned tables"));
solve the problem?