mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Remove argument isprimary from index_build()
The flag was introduced in3fdeb18
, butf66e8bf
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user