aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/tablecmds.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-07-01 12:37:52 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-07-01 12:37:52 -0400
commit9e1c9f959422192bbe1b842a2a1ffaf76b080196 (patch)
treecf36bf712b6baf5c0fa86e3854bbcfaf3829b00f /src/backend/commands/tablecmds.c
parent145b18688c04963efcab8ef3e7e10659bf783eb1 (diff)
downloadpostgresql-9e1c9f959422192bbe1b842a2a1ffaf76b080196.tar.gz
postgresql-9e1c9f959422192bbe1b842a2a1ffaf76b080196.zip
pgindent run prior to branching v12.
pgperltidy and reformat-dat-files too, though the latter didn't find anything to change.
Diffstat (limited to 'src/backend/commands/tablecmds.c')
-rw-r--r--src/backend/commands/tablecmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index fd67d2a8413..3aee2d82ce5 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -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.