pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: digoal@126.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14481: “could not read block 7 in file "base/16393/12769": read only 0 of 8192 bytes”
Date: Fri, 30 Dec 2016 02:12:15 +0000
Message-ID: <20161230021215.10141.46915@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      14481
Logged by:          Zhou Digoal
Email address:      digoal@126.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



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


view thread (2+ messages)  latest in thread

Message-ID: <20161230021215.10141.46915@wrigleys.postgresql.org>
Permalink:  ../20161230021215.10141.46915@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20161230021215.10141.46915@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: digoal@126.com
  Subject: Re: BUG #14481: “could not read block 7 in file "base/16393/12769": read only 0 of 8192 bytes”
  In-Reply-To: <20161230021215.10141.46915@wrigleys.postgresql.org>
  References: <20161230021215.10141.46915@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox