Re: BUG #18567: ERROR: cache lookup failed for attribute 1 of relation 74580 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18567: ERROR: cache lookup failed for attribute 1 of relation 74580
Date
Msg-id 1063126.1722865751@sss.pgh.pa.us
Whole thread Raw
In response to BUG #18567: ERROR: cache lookup failed for attribute 1 of relation 74580  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18567: ERROR: cache lookup failed for attribute 1 of relation 74580
Next
From: PG Bug reporting form
Date:
Subject: BUG #18568: BUG: Result wrong when do group by on partition table!