BUG #14481: “could not read block 7 in file "base/16393/12769": read only 0 of 8192 bytes”

From: digoal(at)126(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14481: “could not read block 7 in file "base/16393/12769": read only 0 of 8192 bytes”
Date: 2016-12-30 02:12:15
Message-ID: 20161230021215.10141.46915@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14481
Logged by: Zhou Digoal
Email address: digoal(at)126(dot)com
PostgreSQL version: 9.4.8
Operating system: CentOS 6.x x64
Description:

when our database upgrade from 9.4.2 to 9.4.8.
there some error when create table .

“could not read block 7 in file "base/16393/12769": read only 0 of 8192
bytes”

# select relname,relkind from pg_class where pg_relation_filepath(oid) ~
'16393/12769';
relname | relkind
------------+---------
pg_attrdef | r
(1 row)

after vacuum pg_attrdef

it's no error now.

but i don't known why?

this database is protect by these parameter :
datachecksum=on
fsync=on
full page write=on
sync commit =on

best regards
digoal

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2016-12-30 04:58:24 Re: [BUGS] BUG #14481: “could not read block 7 in file "base/16393/12769": read only 0 of 8192 bytes”
Previous Message Keith Fiske 2016-12-28 19:36:09 Re: 9.6rc1 Background worker starting multiple times