Pessoal,

Consegui subir o banco, utilizando os comandos

dd bs=49152 count=1 if=/dev/zero of=/pgsql/data/pg_clog/0000
e
dd bs=49152 count=1 if=/dev/zero of=/pgsql/data/pg_multixact/offsets/0000

Porém acredito que tenho uma tabela corrompida, pois quando vou fazer
um count por exemplo, ele me retorna a seguinte mensagem:

ERROR:  could not access status of transaction 537395263
DETAIL:  Could not open file "pg_clog/0200": No such file or directory.

********** Erro **********

ERROR: could not access status of transaction 537395263
SQL state: 58P01
Detalhe: Could not open file "pg_clog/0200": No such file or directory.


Tentei criar o arquivo mencionado como fiz para subir o banco, porém,
ele apenas muda o erro, conforme segue:

ERROR:  could not access status of transaction 537395263
DETAIL:  Could not read from file "pg_clog/0200" at offset 131072: Success.

********** Erro **********

ERROR: could not access status of transaction 537395263
SQL state: XX000
Detalhe: Could not read from file "pg_clog/0200" at offset 131072: Success.

Eu tentei até fazer um backup desta tabela para poder restaurar em
outro local, mas ele tb não deixa fazer.

Alguém tem alguma dica?

[]´s

Junior
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a