Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8bYU-0002Bv-9B for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Mar 2019 02:11:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h8bYT-0004cV-0N for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Mar 2019 02:11:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8bYS-0004cO-PJ for pgsql-hackers@lists.postgresql.org; Tue, 26 Mar 2019 02:11:08 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8bYP-0000bN-MU for pgsql-hackers@lists.postgresql.org; Tue, 26 Mar 2019 02:11:08 +0000 Received: by mail-qt1-x844.google.com with SMTP id z17so12795205qts.13 for ; Mon, 25 Mar 2019 19:11:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=nqFlo4ddmLmZ/suI/BOhCwd+WZz9RjWfvS9D4ai847E=; b=qruohxDV4JYuMIg2RO4oqBU8CZ1ZlPhk9R+U4aVtx3t9gZAMhvcerLEWVVvPaqMjZk 45/+YdgyoOwu3BvNg5JKUb6kaZoVyEBogKouInGYqm72o91ypQDXzz6qunT8iURiQzny YYqc02Yh9guC+ARHLruUnC8/6tlglyWkCeTbXE4Mmikv8WnKm7ZFwO3VCU9NVMxa8OCu amrKQOaoo3alpXZiTBDO/C0d+fx5RvYNcoUzcw+O/bNjkWvp8SUq4cVpPIyvPFyZrwOL kSgN+fTBzijPySdoZRaEOPNsugar2DMNaKJlTN7RLqBzItdt85GyE9qqBdldqv2NdLKy 9gaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=nqFlo4ddmLmZ/suI/BOhCwd+WZz9RjWfvS9D4ai847E=; b=FtQx4FziAZPTxqb1HamL4XnA6BMNVGKqBb6+/MH1PD6mAVJr7gE22v6mBAoCbDH2IV NxxsDsy3r11WeX9gmwJxlIhEsX03er7BBHFOnLpdNrICqGH3TtvnRSdbUOgHq2CFDCc9 45lBll5r80+V6FPR667etOLtLWC3KK2INl7KzVH/1R81ENC5JlxYR5khyADTBvc4sIPa CuOTOKcbPfIxGoqKfbsm8M50XZ1aVGw5nkuESCyIps42O2XNWbPdBSZrP5/QD6kcu7R5 B+XEed9o+SgM9VCO0Zc0BfPn+t+ZkK7205efYRanANZK9hSFLz11i4faGzELhZYHeZcz ofWA== X-Gm-Message-State: APjAAAWKPrQVMvDKwqdecYfz9nmbzb0v7yR8u8S9zkRQKGUm9m8KqiyT apoc02aGfCE/Wu1en6TNnoiA7g== X-Google-Smtp-Source: APXvYqwXAiUOrW0WxWKq0XVYqa9NSt1UorHTAZAavNQH1usAP5J+qFZXov1hXfgqMrI5myIe4Wpx2g== X-Received: by 2002:a0c:9baa:: with SMTP id o42mr17366050qve.184.1553566263039; Mon, 25 Mar 2019 19:11:03 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([201.186.80.67]) by smtp.gmail.com with ESMTPSA id t129sm4925160qkc.24.2019.03.25.19.11.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 19:11:02 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 2BB6D1205F1; Mon, 25 Mar 2019 23:11:00 -0300 (-03) Date: Mon, 25 Mar 2019 23:11:00 -0300 From: Alvaro Herrera To: Pg Hackers Cc: David Fetter , Robert Haas , Rahila Syed , Simon Riggs , Pavan Deolasee , Amit Langote , Andres Freund Subject: Re: monitoring CREATE INDEX [CONCURRENTLY] Message-ID: <20190326021100.GA5377@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190325165348.GA15222@alvherre.pgsql> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Mar-25, Alvaro Herrera wrote: > Here's v6 of this patch. I have rebased on top of today's CLUSTER > monitoring, as well as on table AM commits. The latter caused a bit of > trouble, as now the number of blocks processed by a scan is not as easy > to get as before; I added a new entry point heapscan_get_blocks_done on > heapam.c to help with that. (I suppose this will need some fixups later > on.) Andres, I suppose you have something to say about patch 0001 here? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services