Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wl1Hk-0003Ny-L8 for pgsql-bugs@arkaria.postgresql.org; Thu, 15 May 2014 19:25:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wl1Hj-00049T-RV for pgsql-bugs@arkaria.postgresql.org; Thu, 15 May 2014 19:25:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wl1Hi-00049M-Ts for pgsql-bugs@postgresql.org; Thu, 15 May 2014 19:25:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wl1Hf-0005Od-UO for pgsql-bugs@postgresql.org; Thu, 15 May 2014 19:25:42 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s4FJPX4c031814; Thu, 15 May 2014 15:25:33 -0400 From: Tom Lane To: Olivier Macchioni cc: Bruce Momjian , pgsql-bugs@postgresql.org Subject: Re: BUG #10329: Could not read block 0 in file "base/56100265/57047884": read only 0 of 8192 bytes In-reply-to: <4FB93C6A-2790-4167-931A-E53E6694F73E@wingo.ch> References: <20140515130945.4226.27569@wrigleys.postgresql.org> <26235.1400166587@sss.pgh.pa.us> <4EE3A338-8C14-4E1B-9F2B-479354765138@wingo.ch> <20140515190235.GH25053@momjian.us> <31390.1400180834@sss.pgh.pa.us> <4FB93C6A-2790-4167-931A-E53E6694F73E@wingo.ch> Comments: In-reply-to Olivier Macchioni message dated "Thu, 15 May 2014 21:17:59 +0200" Date: Thu, 15 May 2014 15:25:33 -0400 Message-ID: <31813.1400181933@sss.pgh.pa.us> 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 Olivier Macchioni writes: > - I assume there is a usage for hash indexes and we don't simply want to deprecate them There's a school of thought that says we *should* deprecate them as long as we don't have WAL support, but that viewpoint is not universally subscribed to. One of the arguments against Bruce's proposal to print a warning at hash index creation is that it's a particularly ineffective form of deprecation. In your example, since the hash index was created by some app not manually, I'll bet nobody would have seen/noticed the warning even if there had been one. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs