Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XQzFl-0004nL-Tf for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Sep 2014 13:45:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XQzFk-0007ya-E5 for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Sep 2014 13:45:08 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XQzFj-0007xS-Ou for pgsql-bugs@postgresql.org; Mon, 08 Sep 2014 13:45:07 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XQzFg-0008QQ-Cm for pgsql-bugs@postgresql.org; Mon, 08 Sep 2014 13:45:05 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1XQzFe-0003dv-Q3; Mon, 08 Sep 2014 09:45:02 -0400 Date: Mon, 8 Sep 2014 09:45:02 -0400 From: Bruce Momjian To: Alvaro Herrera Cc: David G Johnston , pgsql-bugs@postgresql.org Subject: Re: Re: BUG #10329: Could not read block 0 in file "base/56100265/57047884": read only 0 of 8192 bytes Message-ID: <20140908134502.GB13690@momjian.us> References: <20140515190235.GH25053@momjian.us> <31390.1400180834@sss.pgh.pa.us> <4FB93C6A-2790-4167-931A-E53E6694F73E@wingo.ch> <31813.1400181933@sss.pgh.pa.us> <1361.1400247902@sss.pgh.pa.us> <20140516144825.GL25053@momjian.us> <20140906150743.GC20146@momjian.us> <20140907014245.GJ14037@eldon.alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140907014245.GJ14037@eldon.alvh.no-ip.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -4.4 (----) 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 Sat, Sep 6, 2014 at 09:42:45PM -0400, Alvaro Herrera wrote: > Bruce Momjian wrote: > > > Here is a patch which implements the warning during CREATE INDEX ... > > HASH. If WAL-logging of hash indexes is ever implemented, we can remove > > this warning. > > I think we should have CREATE UNLOGGED INDEX, and simply disallow any > hash index from being created unless it's marked as such. Wow, that sounds much more radical than we discussed. Seeing I got push-back just for the warning, I don't see how disabling "logged" WAL indexes is going to be accepted. It is a good idea, though. :-) -- 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