Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wl0vS-0002X9-7u for pgsql-bugs@arkaria.postgresql.org; Thu, 15 May 2014 19:02:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wl0vR-0001fG-M4 for pgsql-bugs@arkaria.postgresql.org; Thu, 15 May 2014 19:02:41 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wl0vP-0001dM-Vt for pgsql-bugs@postgresql.org; Thu, 15 May 2014 19:02:40 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wl0vN-0006uH-7W for pgsql-bugs@postgresql.org; Thu, 15 May 2014 19:02:39 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1Wl0vL-0002cf-Ku; Thu, 15 May 2014 15:02:35 -0400 Date: Thu, 15 May 2014 15:02:35 -0400 From: Bruce Momjian To: Olivier Macchioni Cc: Tom Lane , pgsql-bugs@postgresql.org Subject: Re: BUG #10329: Could not read block 0 in file "base/56100265/57047884": read only 0 of 8192 bytes Message-ID: <20140515190235.GH25053@momjian.us> References: <20140515130945.4226.27569@wrigleys.postgresql.org> <26235.1400166587@sss.pgh.pa.us> <4EE3A338-8C14-4E1B-9F2B-479354765138@wingo.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EE3A338-8C14-4E1B-9F2B-479354765138@wingo.ch> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.6 (--) 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 On Thu, May 15, 2014 at 05:20:35PM +0200, Olivier Macchioni wrote: > > [...] > > "hash_idx"? Is this a hash index? Those aren't supported for replication > > purposes (no WAL code :-(). > > > > regards, tom lane > > Bingo: > > xx=# \d ir_translation_src_hash_idx > Index "public.ir_translation_src_hash_idx" > Column | Type | Definition > --------+---------+------------ > src | integer | src > hash, for table "public.ir_translation" > > > (for the record, this is created by the stock version of OpenERP v6) > > And it's the only hash index out of 1741 other indexes on my system... > > I guess my best bet is to replace it by another kind of indexes... and maybe one day PostgreSQL will be clever enough to issue a warning / error in such a case for the people like me who don't read *all the doc* :P > > Thanks a lot and sorry for the noise :) Yes, streaming replication has made our hash indexes even worse. In the past, I have suggested we issue a warning for the creation of hash indexes, but did not get enough agreement. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs