|
|
@ -945,7 +945,6 @@ DefineRelation(CreateStmt *stmt, char relkind, Oid ownerId, |
|
|
|
ereport(ERROR, |
|
|
|
ereport(ERROR, |
|
|
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), |
|
|
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), |
|
|
|
errmsg("specifying a table access method is not supported on a partitioned table"))); |
|
|
|
errmsg("specifying a table access method is not supported on a partitioned table"))); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
else if (RELKIND_HAS_TABLE_AM(relkind)) |
|
|
|
else if (RELKIND_HAS_TABLE_AM(relkind)) |
|
|
|
accessMethod = default_table_access_method; |
|
|
|
accessMethod = default_table_access_method; |
|
|
@ -3773,7 +3772,6 @@ RenameConstraint(RenameStmt *stmt) |
|
|
|
stmt->relation->inh), /* recursive? */ |
|
|
|
stmt->relation->inh), /* recursive? */ |
|
|
|
false, /* recursing? */ |
|
|
|
false, /* recursing? */ |
|
|
|
0 /* expected inhcount */ ); |
|
|
|
0 /* expected inhcount */ ); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
@ -17451,7 +17449,6 @@ ComputePartitionAttrs(ParseState *pstate, Relation rel, List *partParams, AttrNu |
|
|
|
errmsg("data type %s has no default operator class for access method \"%s\"", |
|
|
|
errmsg("data type %s has no default operator class for access method \"%s\"", |
|
|
|
format_type_be(atttype), "btree"), |
|
|
|
format_type_be(atttype), "btree"), |
|
|
|
errhint("You must specify a btree operator class or define a default btree operator class for the data type."))); |
|
|
|
errhint("You must specify a btree operator class or define a default btree operator class for the data type."))); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|