aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-01-24 07:57:09 +0900
committerMichael Paquier <michael@paquier.xyz>2019-01-24 07:57:09 +0900
commit289198c0d93a3d591f379c4134e90275bd426426 (patch)
tree66c166b19b6b8e64aa7be873405aa81fe4298e35 /src/backend/commands
parent95931133a959404cf7320b49058b2f1c2e4606b9 (diff)
downloadpostgresql-289198c0d93a3d591f379c4134e90275bd426426.tar.gz
postgresql-289198c0d93a3d591f379c4134e90275bd426426.zip
Remove argument isprimary from index_build()
The flag was introduced in 3fdeb18, but f66e8bf actually forgot to finish the cleanup as index_update_stats() has simplified its interface. Author: Michael Paquier Discussion: https://postgr.es/m/20190122080852.GB3873@paquier.xyz
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/indexcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c
index 3edc94308e8..5b2b8d29694 100644
--- a/src/backend/commands/indexcmds.c
+++ b/src/backend/commands/indexcmds.c
@@ -1168,7 +1168,7 @@ DefineIndex(Oid relationId,
indexInfo->ii_BrokenHotChain = false;
/* Now build the index */
- index_build(rel, indexRelation, indexInfo, stmt->primary, false, true);
+ index_build(rel, indexRelation, indexInfo, false, true);
/* Close both the relations, but keep the locks */
table_close(rel, NoLock);