Thanks Mirtheil.
I understand this part now about how to add the index.
The other questions are :
1) suppose I do use the Btieve Api or Sql, will the table be locked while the new index is being built?
Or can the users continue to do searches, inserts and updates to the table as long as they do not use the new index that is being built.?
2) When the index is finshed building, will it reflect all the changes to the table that was done while it was being built ?
Does anyone have experience with this? I know this works with MS SQL but I am not sure about PSQL.
Thanks.