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 1h9t1Y-0000XO-Q7 for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Mar 2019 15:02:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h9t1W-0003j8-Qd for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Mar 2019 15:02:26 +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 1h9t1W-0003j1-IE for pgsql-hackers@lists.postgresql.org; Fri, 29 Mar 2019 15:02:26 +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 1h9t1T-0001cH-Lr for pgsql-hackers@lists.postgresql.org; Fri, 29 Mar 2019 15:02:26 +0000 Received: by mail-qt1-x844.google.com with SMTP id v20so2621628qtv.12 for ; Fri, 29 Mar 2019 08:02:23 -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=qE6KuzuvgYrYdJsdlwMjF2coMOQVHPPl0gJjM7wbD9g=; b=jCEf+8m8BLoDUHqGhmhQu7tkf34+wBDG1IPDvysTIF6c2MKmXwdND4QkMV2cq+ibfs Oqmh+0NRzrKPYTxrg9xnc1ddOxXuFZaY/MZQfdJEKcNhreHY8nqHV8CsULzPsH2u+HBL g7KKpyQDAZLaoMxo7ypEGHuJB1pSzqjRieMDBbf2GyML88ocbfRLVszRS46ZRrU96L7f QnZimEm6izquK7rV+XAwJcfjVHSU1Gix9XDAF50IQI+X66RAXlIWThn5g9JAPzd/Gb5I 5PHgAjZ5fmxGfGdNEv1CxPjtjS9BsWSZRUbyCpOr7QIEgVG8uKKJhJPyHY9hv5syw6mr uWfg== 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=qE6KuzuvgYrYdJsdlwMjF2coMOQVHPPl0gJjM7wbD9g=; b=HKzRClKTGzCrUwJpsU7INFd+CLMGdGcRBLe5qWZhoN2jm79yci7oyvWKJPXYjNjPDG 7khtyQNR0igCRn16oDE+N8UoXbwcWb4T3GWPwz/P8cdHQhHlf/Gp7lJpNTOtsXVbNXww ympAUFSjtsPLzYAGqk3oqdEk40mb1RhopxV4aB+lXNp9Hrx+IjmwbfACkoF5wasziXF+ IJMsylenMobM0tsBxzjqbXR+NhKtWe99bDWcIbYQZUD3UcaaglUIrr70LxTzlZb2As+p NxFMXy3mId08g3Beg9w3Mayo8W6DAsqZXQWFC200jbzCGRu0UKDamRir7OQDBTdesGTH gRbg== X-Gm-Message-State: APjAAAUzv+Q01lXszEv3cuUR0pAtEpVuk94M1wZazW+t7hbcrMwDdTis fE0DBTrkfGQPFNuz3+2lRuyIHw== X-Google-Smtp-Source: APXvYqwCMj7INImexdgrY+qjIVrtw7jNIZ/i/GD8vOCDXsSEporlPC7VGUMpLjLqKVbxucTlebLH+Q== X-Received: by 2002:ac8:180b:: with SMTP id q11mr41702984qtj.113.1553871742023; Fri, 29 Mar 2019 08:02:22 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id 76sm1328090qkf.88.2019.03.29.08.02.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 08:02:21 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id A098F120A6D; Fri, 29 Mar 2019 12:02:18 -0300 (-03) Date: Fri, 29 Mar 2019 12:02:18 -0300 From: Alvaro Herrera To: Robert Haas Cc: Simon Riggs , Pg Hackers , David Fetter , Rahila Syed , Pavan Deolasee , Amit Langote Subject: Re: monitoring CREATE INDEX [CONCURRENTLY] Message-ID: <20190329150218.GA25010@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I just noticed that the CLUSTER calls index_build, which my patch modifies to include additional progress metrics; this means that during the index build phase, the metrics set by CLUSTER will be trashed by the ones my patch introduces. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services