diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-01-24 07:57:09 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-01-24 07:57:09 +0900 |
commit | 289198c0d93a3d591f379c4134e90275bd426426 (patch) | |
tree | 66c166b19b6b8e64aa7be873405aa81fe4298e35 /src/backend/commands | |
parent | 95931133a959404cf7320b49058b2f1c2e4606b9 (diff) | |
download | postgresql-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.c | 2 |
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); |