mirror of
https://github.com/postgres/postgres.git
synced 2025-06-22 02:52:08 +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:
@ -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;
|
||||
|
Reference in New Issue
Block a user