mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
pgindent run prior to branching v12.
pgperltidy and reformat-dat-files too, though the latter didn't find anything to change.
This commit is contained in:
@ -1077,7 +1077,7 @@ DefineRelation(CreateStmt *stmt, char relkind, Oid ownerId,
|
||||
errmsg("cannot create foreign partition of partitioned table \"%s\"",
|
||||
RelationGetRelationName(parent)),
|
||||
errdetail("Table \"%s\" contains indexes that are unique.",
|
||||
RelationGetRelationName(parent))));
|
||||
RelationGetRelationName(parent))));
|
||||
else
|
||||
{
|
||||
index_close(idxRel, AccessShareLock);
|
||||
@ -15682,6 +15682,7 @@ ATExecAttachPartition(List **wqueue, Relation rel, PartitionCmd *cmd)
|
||||
defaultrel = table_open(defaultPartOid, NoLock);
|
||||
defPartConstraint =
|
||||
get_proposed_default_constraint(partBoundConstraint);
|
||||
|
||||
/*
|
||||
* Map the Vars in the constraint expression from rel's attnos to
|
||||
* defaultrel's.
|
||||
|
Reference in New Issue
Block a user