Re: find bad record

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: find bad record
Дата
Msg-id 16055.981385078@sss.pgh.pa.us
обсуждение исходный текст
Ответ на find bad record  ("Thomas Heller" <th.heller@comtron.net>)
Список pgsql-admin
"Thomas Heller" <th.heller@comtron.net> writes:
> vacuum says:
> NOTICE:  Rel mxaccounts: TID 226/18: OID IS INVALID. TUPGONE 0.
> VACUUM

> mxaccounts is my table, but how do i find the record causing this notice?

Well, it's telling you the TID.  Try

    select * from mxaccounts where ctid = '(226,18)';

Note that the TID will change if you update the row!

            regards, tom lane

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

Предыдущее
От: "Oliver Elphick"
Дата:
Сообщение: Re: date in european style
Следующее
От: Michael Davis
Дата:
Сообщение: RE: Outer Joins