Hi Akshay,
Please find the attached patch for #6981 SQL for index shows same columnmultiple times.
-- Thanks & Regards,Pradip ParkaleSoftware Engineer | EnterpriseDB Corporation