Выберите IndexName PSQL

SELECT
    indexname,
    indexdef
FROM
    pg_indexes
WHERE
    tablename = 'table_name';
Code language: JavaScript (javascript)
Cloudy Copperhead