Reading index metadata implemented for oracle
Reading index metadata refactored for oracle and implemented for postgresql