> Is this a hypothetical problem or something you've experienced?
The problem is real: when trying to rescue data from a large corrupted database, we couldn't wait for the index definition query for more than 3 hours.
On Tue, Oct 14, 2025 at 08:13:52AM +0000, PG Bug reporting form wrote: > In case of system indexes corruption the collecting of index definitions can > take a really long time.
I don't think this qualifies as a bug, but avoiding pg_dump queries when possible seems like a good idea. Is this a hypothetical problem or something you've experienced?