Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B2E06B5DBF0 for ; Wed, 25 May 2011 14:57:33 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 60903-03 for ; Wed, 25 May 2011 17:57:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 6433FB5DBDE for ; Wed, 25 May 2011 14:57:26 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 3FA27348045; Wed, 25 May 2011 10:57:25 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tGX4RGL5-UXH; Wed, 25 May 2011 10:57:23 -0700 (PDT) Received: from perhan.alvh.no-ip.org (unknown [190.95.22.219]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id C7472348044; Wed, 25 May 2011 10:57:22 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 0B1046E3FB; Wed, 25 May 2011 13:57:19 -0400 (CLT) Content-Type: text/plain; charset=UTF-8 Cc: pgsql-docs Subject: Re: Improve warnings around CREATE INDEX CONCURRENTLY From: Alvaro Herrera To: Greg Smith In-reply-to: <4DDC1DBF.3050306@2ndQuadrant.com> References: <4DDB64CB.7070109@2ndQuadrant.com> <1306269968-sup-2890@alvh.no-ip.org> <4DDC1DBF.3050306@2ndQuadrant.com> Date: Wed, 25 May 2011 13:57:19 -0400 Message-Id: <1306346092-sup-2903@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=-5 required=5 tests=none X-Spam-Level: X-Archive-Number: 201105/83 X-Sequence-Number: 6758 Excerpts from Greg Smith's message of mar may 24 17:06:07 -0400 2011: > On 05/24/2011 04:48 PM, Alvaro Herrera wrote: > > Incidentally, this is one of the things that Jim Nasby wanted exposed > > somehow so that these problems are more easily diagnosed. I dropped the > > ball on that one, but I'll be picking it up again at some point. > > I don't remember seeing anything about that before, but then again I > wasn't really looking for it until now. Did you have a basic idea what > you wanted to do there? I have enough of this work queued up now that I > may end up poking at the code myself here soon. Please see this thread: http://archives.postgresql.org/message-id/1290465663-sup-9908@alvh.no-ip.org > The first thing I was considering was dropping some DEBUG2 level logging > about the various phases of the reindex into there. That would take this system more or less to where autovacuum was in 8.1 (well, not quite that bad because you can change it locally, but still). It seems to me we can do something a bit better than that. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support