Re: \d t: ERROR: XX000: cache lookup failed for relation

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: \d t: ERROR: XX000: cache lookup failed for relation
Дата
Msg-id 8f15f784-abe7-b3df-5038-b8fcc28e5fb1@sigaev.ru
обсуждение исходный текст
Ответ на Re: \d t: ERROR: XX000: cache lookup failed for relation  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: \d t: ERROR: XX000: cache lookup failed for relation  (Teodor Sigaev <teodor@sigaev.ru>)
Список 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/

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: [HACKERS] Moving relation extension locks out of heavyweight lockmanager
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: commitfest 2018-07