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 1j7TFS-000251-Ur for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Feb 2020 00:11:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j7TFR-0003kc-LT for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Feb 2020 00:11:21 +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 1j7TFR-0003kV-Cr for pgsql-hackers@lists.postgresql.org; Fri, 28 Feb 2020 00:11:21 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j7TFO-0001RX-SS for pgsql-hackers@postgresql.org; Fri, 28 Feb 2020 00:11:21 +0000 Received: by mail-qt1-x842.google.com with SMTP id l16so817130qtq.1 for ; Thu, 27 Feb 2020 16:11:18 -0800 (PST) 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=F8I+DcBu/phcQI+hR/EdV0vhOjJaJ0LD3JS17k5WCvQ=; b=WtfJZv4nVthTHd+nWFMCfMiO2Jgdb4IT6to3PQntZOQGj6zSnhirkqo9PoQ2KsLvmX p64P5Xd9Kx8Y9/bro0JmEFM1Zq8CqmGQ+J56SUAUyI98F5egZg6y0q377d7dgFLAZTw9 uIdNu/CMxP7WeVF2JXFe2YGymtaFRFlFqrhw/iZ+t4JmNvJzbC8aOUtECOwiFNxplcI/ Ptauipom5DLQ0VcgZlK+TlDaOisgZcwxdrGsIe8qG7VyjplShA8jL47FA5/mzM6mPPhP 0efbAK+pBVFCKyZ+9uctKfSNj8DeleEeGO7FZtxurwSfBP6Hmi7onzwr49TtSW+iRmDN Mtbg== 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=F8I+DcBu/phcQI+hR/EdV0vhOjJaJ0LD3JS17k5WCvQ=; b=Eo8/h7QNMX5TXnbddfo3+hC5aicSgZqbTfsnsI8aLGfIE9TTS/GBWRFge7j9jQSOru c+TzNy465aF+yumCzSMoDQ6KHu10NgGjC2PSpvu4+x4l5Pitj0tUKDU17kAoFtLLNSiy BbF+zzQY9tL2Vyn1HdQ2dFxV6kBjdqtusiP8VWlxeUtG8/jvJW8qbUszSRLfEv2+ptRc nVAnaB3S/CQUoo0SJt1sRIpLjNwYCfAduS5NFKCccpVTviSy4Osx+PCtz3gFK5qybrBa /FizBOC2sssPeCHxXU15TKdrPrYtss1z36TGNqNjsj19JnA/tB9uHUbm64T+z836XRKo LgIw== X-Gm-Message-State: APjAAAXZm1Lam5PtGbMA/CVl7HiZ2PvOvT+QdoCGEjQqYe2FVYegS6h7 CECsaPB08bx7LxSlKlSI7nsClQ== X-Google-Smtp-Source: APXvYqyIOn4zuWezA8tMcCCSgPYrBjrIP800hHjwi6j85yfJI1/+NdF74g6zFtWr6wat1TLembARKg== X-Received: by 2002:ac8:1b18:: with SMTP id y24mr1992163qtj.158.1582848677483; Thu, 27 Feb 2020 16:11:17 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([201.186.208.119]) by smtp.gmail.com with ESMTPSA id a23sm4053341qko.77.2020.02.27.16.11.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 16:11:16 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 8052A300651; Thu, 27 Feb 2020 21:11:14 -0300 (-03) Date: Thu, 27 Feb 2020 21:11:14 -0300 From: Alvaro Herrera To: Justin Pryzby Cc: Robert Haas , pgsql-hackers@postgresql.org Subject: Re: ALTER INDEX fails on partitioned index Message-ID: <20200228001114.GA16911@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200227232513.GE29456@telsasoft.com> 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-Feb-27, Justin Pryzby wrote: > The attached allows CREATE/ALTER to specify reloptions on a partitioned table > which are used as defaults for future children. > > I think that's a desirable behavior, same as for tablespaces. Michael > mentioned that ALTER INDEX ONLY doesn't exist, but that's only an issue if > ALTER acts recursively, which isn't the case here. I think ALTER not acting recursively is a bug that we would do well not to propagate any further. Enough effort we have to spend trying to fix that already. Let's add ALTER .. ONLY if needed. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services