| От | Tom Lane |
|---|---|
| Тема | Re: FW: Duplicate oids! |
| Дата | |
| Msg-id | 5330.1040050761@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: FW: Duplicate oids! (Steve King <steve.king@ecmsys.co.uk>) |
| Список | pgsql-hackers |
Steve King <steve.king@ecmsys.co.uk> writes:
> I've now got a copy of pg_filedump and compiled it, can you tell me the
> command line parameters to pass it (and the file that I must process) so I
> can give you exactly what you require.
I'd recommend
pg_filedump -f -i -R <blocknum> <filename>
where <blocknum> is whatever page you need to look at (the high part of
the TIDs of the bad tuples), and <filename> is going to be of the form
$PGDATA/base/<dbnum>/<filenum>
You get the DB number from
select oid from pg_database where datname = 'yourdbname';
and the file number from
select relfilenode from pg_class where relname = 'yourtablename';
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера