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 1grXXU-0004Mo-1i for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Feb 2019 00:27:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1grXXS-0001Mq-Qd for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Feb 2019 00:27:34 +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 1grXWs-0002b5-Az for pgsql-hackers@lists.postgresql.org; Thu, 07 Feb 2019 00:26:58 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grXWq-0006al-0r for pgsql-hackers@postgresql.org; Thu, 07 Feb 2019 00:26:57 +0000 Received: by mail-qt1-x842.google.com with SMTP id n32so10088154qte.11 for ; Wed, 06 Feb 2019 16:26:55 -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=HiqK8TeXE6Edo/UWZo1yUOuRWEVgyfJi0P0gyfOd3m8=; b=GWaV0kY/pwdhmVnipwk0Ftb2OMQ3XNkPj0/ZeOtHo75Mb5RKsFpGfsKMdENkYpQNs3 fPl/TtPWVCXeXzZ6//To/+WvNaGN9B8psTVG7aNSpcQaLVU06jUgtCTxaiaWdju4dYgf ZovuhX+DXknUgOQ+85zeexcExjKJViG1G2I23kPempv+eLELolOHLyyIWuso7KvgQO+q mcXLzb8yDnySp+UKFUDsMc09uxmr9LKaRAFnbYwdDXX59cMmlDYbJn9RlH5/pQoH4w5l uukVofe2vQ4JW+iW6NjqrnSer6TVlg/ZPnAqJDixKd/vrFTmjk+P7Dc3/kFnPzJnvkQV CsiA== 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=HiqK8TeXE6Edo/UWZo1yUOuRWEVgyfJi0P0gyfOd3m8=; b=KuJ+M5HnKDpgKPx6l/KuPVkmGFgKUjrhdjQvhfUy7UvDSrL3Op6RvtMbXc0/2k9tu0 cQWs8NcXJuDjRuYUFPmFli2tLGgrwFyhZjHV12jb3vnIw7AzcHFqVtLUol/f5lOZycNy 35H6t6PLchtxYKQCoPYRWCLCb5jE2idSTJebyNSUIduRRk/DUXSgQTsk0rjBvd+kxFLp UDEBhx9rdO9OxuD7UL0Ryf/NfjfY4wFkd8FcuxkyHIRuaizJmGLL0HLqiJVmAkewksO3 W75LNokJqXpkaxlP0Em03F7Q4p1s/4DjLgNqkbSbXow6nqzGI5pjBS1gU+rxuF7vih+2 gJEQ== X-Gm-Message-State: AHQUAuY/V1jPkPitWPJtM2WuOlFm1SpJurLcnSFnSPxkYy7jxYPTeUfS NJomTEvuZIhNEvnKxPDkYJ4uviEioSTBlIm7ZfhQap/XzbEyWxxXYjJf0PAfP3xmmdkXxk7iqJS V+Og7A8y+MxUv/y6gKvh2hrGSkZi1SlBHMsV6l+6SieNe4EU6nquXh5eJVmazuOip5K6BrgpskK 55mIxDkg== X-Google-Smtp-Source: AHgI3IYO7HnESdt81eiPlrI6Vr2adZj17GZ7OkxMYimoRxj0KMPTDOk6hTs0F/HOBqqTafd6h+LQ7Q== X-Received: by 2002:ac8:550a:: with SMTP id j10mr9400787qtq.212.1549499214446; Wed, 06 Feb 2019 16:26:54 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([201.186.80.67]) by smtp.gmail.com with ESMTPSA id x57sm24323520qtx.96.2019.02.06.16.26.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Feb 2019 16:26:52 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id B689B12458D; Wed, 6 Feb 2019 14:32:12 -0300 (-03) Date: Wed, 6 Feb 2019 14:32:12 -0300 From: Alvaro Herrera To: Justin Pryzby Cc: pgsql-hackers@postgresql.org Subject: Re: ALTER INDEX fails on partitioned index Message-ID: <20190206173212.GA23770@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190105185937.GO25379@telsasoft.com> 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-Jan-05, Justin Pryzby wrote: > 12dev and 11.1: > > postgres=# CREATE TABLE t(i int)PARTITION BY RANGE(i); > postgres=# CREATE INDEX ON t(i) WITH(fillfactor=11); > postgres=# ALTER INDEX t_i_idx SET (fillfactor=12); > ERROR: 42809: "t_i_idx" is not a table, view, materialized view, or index > LOCATION: ATWrongRelkindError, tablecmds.c:5031 > > I can't see that's deliberate, So do you have a proposed patch? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services