I also noticed that \d on an index doesn't warn about the invisible state whereas \d on a table does:
Thank you for the review + patch (v9-002) [1]. Your patch looks good to me. I have not incorporated this in my v10 patch [2]. Mostly to make sure you are credited and also being new here and not knowing whether or not I should :) (to help with the reviewing process, etc). Open to suggestions and feedback.