PG Bug reporting form <noreply@postgresql.org> writes:
> [ pg_get_indexdef can fail on a concurrently-dropped index ]
I'm not terribly concerned about this. In any case, the only
fix I can think of is for pg_get_indexdef to take a lock on the
index, which seems like a cure considerably worse than the
disease.
regards, tom lane