pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Olivier Macchioni <olivier.macchioni@wingo.ch>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #10329: Could not read block 0 in file "base/56100265/57047884": read only 0 of 8192 bytes
Date: Thu, 15 May 2014 15:25:33 -0400
Message-ID: <31813.1400181933@sss.pgh.pa.us> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Olivier Macchioni <olivier.macchioni@wingo.ch> 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



view thread (30+ messages)  latest in thread

Message-ID: <31813.1400181933@sss.pgh.pa.us>
Permalink:  ../31813.1400181933@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/31813.1400181933@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, olivier.macchioni@wingo.ch, bruce@momjian.us
  Subject: Re: BUG #10329: Could not read block 0 in file "base/56100265/57047884": read only 0 of 8192 bytes
  In-Reply-To: <31813.1400181933@sss.pgh.pa.us>
  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> <31813.1400181933@sss.pgh.pa.us>

* 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