From: Tom Lane <tgl@sss.pgh.pa.us>
To: jiangdian_m@163.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18567: ERROR: cache lookup failed for attribute 1 of relation 74580
Date: Mon, 05 Aug 2024 09:49:11 -0400
Message-ID: <1063126.1722865751@sss.pgh.pa.us> (raw)
In-Reply-To: <18567-1a31eee4c9ca4325@postgresql.org>
References: <18567-1a31eee4c9ca4325@postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, jiangdian_m@163.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18567: ERROR: cache lookup failed for attribute 1 of relation 74580
In-Reply-To: <1063126.1722865751@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox