There is actually, just query the pg_indexes system catalog view as follows:
SELECT indexdef FROM pg_indexes WHERE indexname = '...'and you should get back the SQL statement used to define it.
There is actually, just query the pg_indexes system catalog view as follows:
SELECT indexdef FROM pg_indexes WHERE indexname = '...'and you should get back the SQL statement used to define it.