aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/indexcmds.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/indexcmds.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/indexcmds.c')
-rw-r--r--src/backend/commands/indexcmds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c
index 579b9989548..6fa5738bbfb 100644
--- a/src/backend/commands/indexcmds.c
+++ b/src/backend/commands/indexcmds.c
@@ -1085,9 +1085,9 @@ DefineIndex(Oid relationId,
childrel = table_open(childRelid, lockmode);
/*
- * Don't try to create indexes on foreign tables, though.
- * Skip those if a regular index, or fail if trying to create
- * a constraint index.
+ * Don't try to create indexes on foreign tables, though. Skip
+ * those if a regular index, or fail if trying to create a
+ * constraint index.
*/
if (childrel->rd_rel->relkind == RELKIND_FOREIGN_TABLE)
{
@@ -1097,7 +1097,7 @@ DefineIndex(Oid relationId,
errmsg("cannot create unique index on partitioned table \"%s\"",
RelationGetRelationName(rel)),
errdetail("Table \"%s\" contains partitions that are foreign tables.",
- RelationGetRelationName(rel))));
+ RelationGetRelationName(rel))));
table_close(childrel, lockmode);
continue;