Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

query for all indexes in table postgres

SELECT
    tablename,
    indexname,
    indexdef
FROM
    pg_indexes
WHERE
    schemaname = 'public'
ORDER BY
    tablename,
    indexname;
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #query #indexes #table #postgres
ADD COMMENT
Topic
Name
1+8 =