I would like editor access to the wiki, my username is sircompo and I would like to modify "Locale data changes".

I believe there's a comma where it shouldn't be;
SELECT indrelid::regclass::text, indexrelid::regclass::text, collname, pg_get_indexdef(indexrelid) 
should be :
SELECT indrelid::regclass::text, indexrelid::regclass::text collname, pg_get_indexdef(indexrelid) 

Regards,
Dave.