Is there a way to show the creation statement for an index in PostgreSQL
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.