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.92) (envelope-from ) id 1j8wPM-0002Ud-0Z for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Mar 2020 01:31:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j8wPK-0001FG-Rm for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Mar 2020 01:31:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j8wPK-0001F8-CH for pgsql-hackers@lists.postgresql.org; Tue, 03 Mar 2020 01:31:38 +0000 Received: from mail-yw1-xc43.google.com ([2607:f8b0:4864:20::c43]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j8wPH-00030M-Ks for pgsql-hackers@postgresql.org; Tue, 03 Mar 2020 01:31:37 +0000 Received: by mail-yw1-xc43.google.com with SMTP id x184so1882621ywd.6 for ; Mon, 02 Mar 2020 17:31:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vgVZePEEkRC2SDeSxp7m0zdNkf76FAdvsqw8qsM1gnI=; b=lXKQbh0BddSiqEIOwbmWzntD32oSZJQN0WYcCB2SmlTWx5HHykL04l/qJ/BOHVX37i o7JPYLoPlw8YI1PtZyL+TqwrBCjumn9+Pd31lHxqpedXDbmnoMcyJq9BO7OcYN/bNRQ3 q9pBDEEGRUpkVWOJjHoqAk/uOeTByFJFl4rgL99W1O9aht79zRgB6ogqq0dgqZbUO5Lu 0NbdcdVq59K3crlfvCgNEZU+HadnGSdpdmk6bsH78hfRmJHr7vPO+t7uODi0U7rIKmtZ 7SbeBIdEFDZv7mHM8X9JLLGYjTsA6GuGT7plMf6xOkanHh4/x+8CrtWVa7Yh5sb3oglr BWgg== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vgVZePEEkRC2SDeSxp7m0zdNkf76FAdvsqw8qsM1gnI=; b=LjX0R0udJW4WrDTK4Rj2nezMYWZwArNB29ngLJJ7KiVF5PlYSDQK5/m6Rn0ARv6TfE r5/Idu89xNypkVTebxQjBuQdBUUyif/bHum4HsmMfmcqtLl53omTnaFOeUKJZ5ZKFOOf MtW8WPme/JinpuEcKNXgljYn8Fqj8gDBLi40YTl2vxop526nAcO/SMz69lkOg5DKPSFA bFtUFdiEFUrMqaX4q8IuWYDVwkNOnlnLyz1NkIBREERgvcNsIC6e9y78XO/5svHiHxj1 yWcHfr/5Cb3ithfN1+B3RFfb4/iQPSKVbpnYJ8Z1uCncA5Y4PJwY7rXMO5yiAGl7Trfg 3aIg== X-Gm-Message-State: ANhLgQ2+6IbNknLpyCQe4cUWvJ7v+WF3wh4Tq0h56e//eqiGvbIv9IED bjlcXrjcAfG/QTzRgyL1oGHluQ== X-Google-Smtp-Source: ADFU+vub51D6zey+/9VchTJe6hlsAriGgphzGCMLz8M02U+MiPxhp7bgwvqzrMlwz2LMcR1J46K+yA== X-Received: by 2002:a25:5556:: with SMTP id j83mr1872958ybb.348.1583199094945; Mon, 02 Mar 2020 17:31:34 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id p144sm8500291ywe.34.2020.03.02.17.31.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Mar 2020 17:31:34 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id D7A57800925; Mon, 2 Mar 2020 19:31:32 -0600 (CST) Date: Mon, 2 Mar 2020 19:31:32 -0600 From: Justin Pryzby To: Michael Paquier Cc: Tom Lane , Alvaro Herrera , Amit Langote , pgsql-hackers@postgresql.org Subject: Re: ALTER tbl rewrite loses CLUSTER ON index Message-ID: <20200303013132.GA684@telsasoft.com> References: <20200206144426.GH403@telsasoft.com> <20200206172447.GA28041@alvherre.pgsql> <20200207143935.GP403@telsasoft.com> <17937.1582932364@sss.pgh.pa.us> <20200229024202.GH29456@telsasoft.com> <20200229165258.GJ29456@telsasoft.com> <20200302032818.GB32059@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200302032818.GB32059@paquier.xyz> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Mar 02, 2020 at 12:28:18PM +0900, Michael Paquier wrote: > > +SELECT indexrelid::regclass FROM pg_index WHERE indrelid='concur_clustered'::regclass; > > This test should check after indisclustered. Except that, the patch > is fine so I'll apply it if there are no objections. Oops - I realized that, but didn't send a new patch before you noticed - thanks for handling it. -- Justin