Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khK2h-0005jD-4U for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Nov 2020 22:10:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1khK2g-0006Lk-59 for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Nov 2020 22:10:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khK2f-0006Lc-Bo for pgsql-hackers@lists.postgresql.org; Mon, 23 Nov 2020 22:10:37 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khK2d-0002Sl-0B for pgsql-hackers@lists.postgresql.org; Mon, 23 Nov 2020 22:10:36 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2CC625C01B2; Mon, 23 Nov 2020 17:10:34 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 23 Nov 2020 17:10:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=MzsL1YpDeMZ6RZ/SK 26/MxWU7gtHnwP2l44Q9WuEVg0=; b=ByBRiTztmVELBbBqs3nDClh9+pLqJm0zA A4trU7OwFKPiQC1bgjyF2h8L7H6id/e6KriNUgPGZG/ukFV973ZB6NT2wmkpnzdw oPqFEXH167IOZKiw0ggPhM8j8jgwdz6QhT2GrUfNn/gaRHpLc/QfJ4D1Au1nL8fa GJe4bZ0oSb2u7oj/dr7nDd9qOiMbKRjEKiioP6XBQNTHMEpPvDe8Bp1ZaDg49N/H zLkDXBR0C4y5EZljROY7dC5tptRaMheMzWJEoYDfIRd3fonJQuTqm6bTcHPA/YfM l6K2RhMF9pcnSqgQOItRtgQC0kJc44c9PgIBhXP2SecmE+i0FG31A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegjedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggujggfsehttdertddtredvnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeevgfelveegueejgefhgeetgefhgeehieefheehleetteei udeiiefhgffgheffteenucfkphepudeltddrleehrddukedrjeelnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhv hhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.18.79]) by mail.messagingengine.com (Postfix) with ESMTPA id 160893280060; Mon, 23 Nov 2020 17:10:33 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id A22CA2A1006; Mon, 23 Nov 2020 19:10:30 -0300 (-03) Date: Mon, 23 Nov 2020 19:10:30 -0300 From: Alvaro Herrera To: Tom Lane Cc: Michael Paquier , Andres Freund , Dmitry Dolgov <9erthalion6@gmail.com>, James Coleman , Pg Hackers Subject: Re: "as quickly as possible" (was: remove spurious CREATE INDEX CONCURRENTLY wait) Message-ID: <20201123221030.GA12311@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <166823.1606168975@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Nov-23, Tom Lane wrote: > Alvaro Herrera writes: > > Well, we already do this in a number of places. But I can get behind > > this: > > >> Maybe it'd be a good idea to have elog.c expose a new function > >> along the lines of "bool message_level_is_interesting(int elevel)" > >> to support this and similar future optimizations in a less fragile way. > > I'll see about a patch for that. Looking at that now ...