Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBLeS-0003cW-84 for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Aug 2020 17:25:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kBLeR-0005nO-62 for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Aug 2020 17:25:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBLeQ-0005nF-Vq for pgsql-bugs@lists.postgresql.org; Thu, 27 Aug 2020 17:25:26 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kBLeN-0000O3-TV for pgsql-bugs@lists.postgresql.org; Thu, 27 Aug 2020 17:25:26 +0000 Received: by mail-qt1-x841.google.com with SMTP id b3so3970014qtg.13 for ; Thu, 27 Aug 2020 10:25: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=hsKb5PPXvoysSqhnYFw4xXX8Nkq36/VpmOzD3T8JUh0=; b=mp69OXcHX3XTD0v+QbqfaXw0VcYHqRiIyKTQ7g9jbu1jSfZMQnKoif5UivQDALlH5T Pemd0KgieNmxDxZbdlJ1m9lA3fvOKNwMYgAzK4UBPAe773rCXPF5d6DfU2pr3AmlmEZN CY2UDbVFYTtawgGGxErzQ5Ayh2QIRGctfX7JV7IB4AgNc3pTDjIhfdbkm06rKxwRzQXp oRXgZnxku/wezSq1GC5oEXwkDklDgxseTh8jzh36Qy2VmU39vJGqkbwDSoyiStfsJxhr HYM7dZJ5varNx8NySJBRuwz6xlWpZJLocsvyDUH/mhCU/Sz7E6V/WVZ/WzuxFPKdOQjd bvmw== 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=hsKb5PPXvoysSqhnYFw4xXX8Nkq36/VpmOzD3T8JUh0=; b=R8QU0yDZOIxU4zPcIm6RYhTYKg1DrE1m6X35/fW1ZCSiLFxx+0NLlzl9DcSCbUIhqf f50CTGaDmip8f6ZNL23xzF7/Gf7/2pb/LktEdxj9Xm1XBjm8OBcT8FU7yYnj4RFqgz/H f7VtE7+958o1RV9bCEDh9gbFG7/KVPTHO7hlYydNEEmSw4K0vxDs7fT3T4fR0B4fWCyk 2f5S5i1qaPbTXUZXW04hpTLPl7T6vi0zDtgs1r4AWOZsHXCRIwobzTfN4VXb0nBn1CDx Bwm6EKdBWXV5ozrSb9ZxzUqxhqJxNlalnfE2co9pwelylZY5GkLDKv4U4mtZgJvtdgMU hoYg== X-Gm-Message-State: AOAM530rwwuBcdRO3pzhjIj78qP//waUSH77ndpzzvV05oCL6GeDWCqm McpbalZ+vUb/zAvvztqTJ/hj4KGM4o6Xn8KtQSyAlojejnZQwdDoK+rzhd1xoiyDuXFdx8RpqDN E3e/kYWPCbUfyowUPs16uYToMjDULEu99qpWeYdXlMVMNVyjmyo4yLEFR/j6kYvxHzwomEOkPxb VAi/t7mVEBIhnR X-Google-Smtp-Source: ABdhPJwx64M5ZZAUIZnw2wPqMqTuAL3HjveTw1u2oEJqCmapFrK0vc81Yhp6+idq4lgKvnF259ApOA== X-Received: by 2002:ac8:7741:: with SMTP id g1mr19125190qtu.28.1598549121916; Thu, 27 Aug 2020 10:25:21 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.47]) by smtp.gmail.com with ESMTPSA id x28sm2206208qki.55.2020.08.27.10.25.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Aug 2020 10:25:21 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 70AAB2A1998; Thu, 27 Aug 2020 13:25:19 -0400 (-04) Date: Thu, 27 Aug 2020 13:25:19 -0400 From: Alvaro Herrera To: Michael Paquier Cc: jan.mussler@zalando.de, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16594: DROP INDEX CONCURRENTLY fails on partitioned table with a non helpful error message. Message-ID: <20200827172519.GA5940@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200827010054.GK2017@paquier.xyz> 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-Aug-27, Michael Paquier wrote: > The error message is really confusing though, so for now I would > recommend to just drop an error if trying the operation on a > partitioned table, and we also do that now for CREATE INDEX > CONCURRENTLY. Yeah, let's throw an error if the table is partitioned. My bug -- I'll go fix it now. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services