Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2010
    Posts
    40

    Unanswered: List of inex, tables and columns

    Daer all,
    Is there any sql command that gives indext list together with addiitional information indexed tables and columns?
    I found seceral on internet but none of them works!
    Thanks

  2. #2
    Join Date
    Aug 2011
    Location
    Glasgow, UK
    Posts
    36
    You can use the pg_indexes view from the system catalog:

    SELECT schemaname, tablename, indexname, "tablespace", indexdef FROM pg_indexes;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •