Re: \d t: ERROR: XX000: cache lookup failed for relation - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: \d t: ERROR: XX000: cache lookup failed for relation
Date
Msg-id 8f15f784-abe7-b3df-5038-b8fcc28e5fb1@sigaev.ru
Whole thread Raw
In response to Re: \d t: ERROR: XX000: cache lookup failed for relation  (Justin Pryzby <pryzby@telsasoft.com>)
Responses Re: \d t: ERROR: XX000: cache lookup failed for relation
List pgsql-hackers
> Ah, I think this is the missing, essential component:
> CREATE INDEX ON t(right(i::text,1)) WHERE i::text LIKE '%1';
Finally, I reproduce it with attached script.

INSERT 0 999999  <- first insertion
ERROR:  cache lookup failed for relation 1032219
ALTER TABLE
ERROR:  cache lookup failed for relation 1033478
ALTER TABLE
ERROR:  cache lookup failed for relation 1034073
ALTER TABLE
ERROR:  cache lookup failed for relation 1034650
ALTER TABLE
ERROR:  cache lookup failed for relation 1035238
ALTER TABLE
ERROR:  cache lookup failed for relation 1035837

will investigate
-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

Attachment

pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Re: [HACKERS] Moving relation extension locks out of heavyweight lockmanager
Next
From: Ashutosh Bapat
Date:
Subject: Re: commitfest 2018-07