Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WcQ4D-0004HI-FU for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Apr 2014 02:04:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WcQ4C-0005DK-RO for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Apr 2014 02:04:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WcKWX-0000NU-Aj for pgsql-bugs@postgresql.org; Mon, 21 Apr 2014 20:09:05 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WcKWV-0006oZ-11 for pgsql-bugs@postgresql.org; Mon, 21 Apr 2014 20:09:05 +0000 MIME-Version: 1.0 Subject: BUG #10095: primary key corruption To: pgsql-bugs@postgresql.org From: lukecoldiron@hotmail.com Date: Mon, 21 Apr 2014 20:08:38 +0000 Message-ID: <20140421200838.2714.47552@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 10095 Logged by: Luke Coldiron Email address: lukecoldiron@hotmail.com PostgreSQL version: 9.3.3 Operating system: Ubuntu Linux 12.04 "Precise Pangolin" 32bit Description: I am seeing a problem where different primary keys in my database are being corrupted. ERROR: could not read block 0 in file "base/16407/41243": read only 0 of 8192 bytes When I look on the filesystem the "base/16407/41243" file is zero bytes. When I lookup the object name that is currupt via select relname from pg_class where relfilenode = 41243; it is always a primary key and not always on the same table. The system was previously upgraded from pg 8.3.7 and these issues did not occur. I haven't tried upgrading to 9.3.4 since it didn't look like any of the bug fixes where targeted at the issue I am seeing. Unfortunately, I have not yet be able to create a reproducible test case or find a log where the issue first appeared. Any ideas would be much appreciated. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs