Re: Cache lookup failed for relation, when trying to DROP TABLE.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cache lookup failed for relation, when trying to DROP TABLE.
Дата
Msg-id 26266.1097075430@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Cache lookup failed for relation, when trying to DROP TABLE.  (Mark Gibson <gibsonm@cromwell.co.uk>)
Ответы Re: Cache lookup failed for relation, when trying to DROP
Список pgsql-general
Mark Gibson <gibsonm@cromwell.co.uk> writes:
> I kept getting the following error:
> ERROR:  cache lookup failed for relation 4667548

This implies that something someplace still has a link to the table with
that OID.  You could do "\set VERBOSITY verbose" so that the code
location the error occurs at gets reported; that might be enough
information to guess what sort of thing is linking to the table.
Or you could just dig through the system catalogs looking for 4667548
in an OID column that links to pg_class.

            regards, tom lane

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

Предыдущее
От: Mark Gibson
Дата:
Сообщение: Re: Commands to browse current connections and processes
Следующее
От: Ben
Дата:
Сообщение: database constraints