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 1jMc4c-0003oh-9x for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2020 18:38:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jMc4b-0005r1-6v for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2020 18:38:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jMc4a-0005qu-VS for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2020 18:38:44 +0000 Received: from mail-qv1-xf43.google.com ([2607:f8b0:4864:20::f43]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jMc4W-0004u9-MH for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2020 18:38:43 +0000 Received: by mail-qv1-xf43.google.com with SMTP id n1so6038720qvz.4 for ; Thu, 09 Apr 2020 11:38:40 -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=48fZ2NtHJmnmdg2g5g6NznC8dnpI0NH3XrUolYq9Ceg=; b=ZdTIz5SD26w0kPs8owKZe5LUVy1pXhzxEi0SR0Y0z21Ex2VHmdfYrSfoIdY9aGPSwB dsDGvTpibtM7BMBhF9AwEvZZfWa+rZqmdoRkDfrCD5A1Ij25QOu/iH3WjrXTSgTFBe5O YFDGXgKn4JTzf2gJHBGaa56hUV1CfYD38IsZ0TAOgbWVLMeBVdhhduCrot7sLlJa/TLY Y9nzmvqLKFT1y7I2+zltyugJ6qAjINZTiVudXCaflEbRzCWCUECG+ow19x+ImN6Hwnt5 Gl2YMzbhqemc/l16Te9TURnFEsT959WHIvmF/aDaTM2ofRqNC2C8UivAbVg0LXZ8tLsm 8sLg== 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=48fZ2NtHJmnmdg2g5g6NznC8dnpI0NH3XrUolYq9Ceg=; b=pofN1Qdg5Yk1/dgnRNpIWZwQcRfUm/rInQTYMfW7prOM5M0kAE+TPbKMJYBkdznNCC 5TI6bzsUT/5Sd4JeqOsQ/+7qzrGyPx8zOqqk2mtC0i1ftyzO5mfYurVZsXfeBlrJPGKO pe605Qm5ERVR6x3HIshEt1kcl3zjBBKU7NnO3y3AYyHHiRtrzO81C1gEfEBYiU6tm+su d6Z7G+YgH1rz+KrjVzgxoAORnV0UZnkw2bE8K5LzBDqPS1iyUo/u2A/Q2NyWbOa9pHka WIrYETzRl815Znhd6OaaUhtnG9eozJ2Gbu3xcVpXjwxbscHRyOpwr627IEQPTTD66RGu cJ4g== X-Gm-Message-State: AGi0PubYhMOE5S/2KrJEwyAUbMP4zLcQSfSfswwVbhWRlNzgu6wjeWFJ I8tur7d+dHrAxSXswKOogJze/w== X-Google-Smtp-Source: APiQypKjQvNq2839/m/YWNH6MEzgupf8cKtzkRp2gGL7VcDzJPqSmkOfcfVO4te66clrpbbU3ZJc5w== X-Received: by 2002:ad4:47c5:: with SMTP id p5mr1569623qvw.144.1586457519748; Thu, 09 Apr 2020 11:38:39 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id l3sm10578197qkl.85.2020.04.09.11.38.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Apr 2020 11:38:39 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 637E4300B32; Thu, 9 Apr 2020 14:38:37 -0400 (-04) Date: Thu, 9 Apr 2020 14:38:37 -0400 From: Alvaro Herrera To: Tom Lane Cc: Ibrar Ahmed , Ahsan Hadi , PostgreSQL Hackers Subject: Re: more ALTER .. DEPENDS ON EXTENSION fixes Message-ID: <20200409183837.GA17769@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3926.1583937053@sss.pgh.pa.us> 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-Mar-11, Tom Lane wrote: > > thanks for it) to backbranches or just to master. It seems legitimate > > to see it as a feature addition, but OTOH the overall feature is not > > complete without it ... > > 0003 is the command addition to allow removing such a dependency, > right? Given the lack of field demand I see no reason to risk > adding it to the back branches. Yeah, okay. I hereby request permission to push this patch past the feature freeze date; it's a very small one that completes an existing feature (rather than a complete new feature in itself), and it's not intrusive nor likely to break anything. > BTW, I did not like the syntax too much. "NO DEPENDS ON EXTENSION" > doesn't seem like good English. "NOT DEPENDS ON EXTENSION" is hardly > any better. The real problem with both is that an ALTER action should > be, well, an action. A grammar stickler would say that it should be > "ALTER thing DROP DEPENDENCY ON EXTENSION ext", but perhaps we could > get away with "ALTER thing DROP DEPENDS ON EXTENSION ext" to avoid > adding a new keyword. By that logic the original command should have > been "ALTER thing ADD DEPENDS ON EXTENSION ext", but I suppose it's > too late for that. I will be submitting a version with these changes shortly. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services