Postgres recebe índice definido na tabela

SELECT
    tablename,
    indexname,
    indexdef
FROM
    pg_indexes
WHERE
    schemaname = 'public'
ORDER BY
    tablename,
    indexname;
Code language: JavaScript (javascript)
Xerothermic Xenomorph