Re: Rows missing from table despite FK constraint

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rows missing from table despite FK constraint
Дата
Msg-id 4784.1262959690@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Rows missing from table despite FK constraint  (Konrad Garus <konrad.garus@gmail.com>)
Ответы Re: Rows missing from table despite FK constraint  (Konrad Garus <konrad.garus@gmail.com>)
Список pgsql-general
Konrad Garus <konrad.garus@gmail.com> writes:
> 2010/1/8 Tom Lane <tgl@sss.pgh.pa.us>:
>> Do you know that the rows disappeared recently?

> Yes. They are present in dump from 9 PM and missing from dump from 1
> AM. It must've happened within this 4-hour window.

Hm.  It would be interesting to see if you can find the place where the
rows had been and dump it with pg_filedump
http://sources.redhat.com/rhdb/
You can look at the ctid column of the rows that are adjacent to the
missing ones according to your older dump, and then dump out those
blocks (I recommend -i -f style).

            regards, tom lane

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

Предыдущее
От: Konrad Garus
Дата:
Сообщение: Re: Rows missing from table despite FK constraint
Следующее
От: Tom Lane
Дата:
Сообщение: Re: check the execution status of stored procedure