ERROR: could not read block 240030 in file "pg_tblspc/16387/PG_9.1_201105231/16388/16597.1": read only 0 of 8192 bytes

ERROR: could not read block 240030 in file "pg_tblspc/16387/PG_9.1_201105231/16388/16597.1": read only 0 of 8192 bytes

我的朋友收到以下错误所以我将他的 idb_dumps 导入我的系统。

错误:无法读取文件中的块 240030 "pg_tblspc/16387/PG_9.1_201105231/16388/16597.1":只读 8192 字节中的 0。

在 pgadmin3 我运行下面的查询
"select n.nspname AS tableschema, c.relname AS tablename, c.relfilenode as rel_file_node from pg_classc 内部联接 pg_namespace n on (c.relnamespace = n.oid) ORDER BY rel_file_node;"

但是在输出中,我没有看到 "relfilenode = 16597.1"

的任何条目

请帮我找到损坏的 table 或索引。

还有一件事为什么 relfilenode 是浮点值?

除非您不从其他系统复制整个数据库,否则上述问题的查询将不起作用。这里的数据库文件转储对我之前尝试过的没有帮助。