Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anRVX-000058-EL for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Apr 2016 13:59:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1anRVW-0003Ty-TH for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Apr 2016 13:59:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anRVV-0003TD-Lq for pgsql-hackers@postgresql.org; Tue, 05 Apr 2016 13:59:01 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1anRVR-0001hW-70 for pgsql-hackers@postgresql.org; Tue, 05 Apr 2016 13:59:00 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.83.202.40]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 55C8C400BE9; Tue, 5 Apr 2016 06:58:51 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 3D93F8FA; Tue, 5 Apr 2016 10:58:49 -0300 (CLT) Date: Tue, 5 Apr 2016 10:58:49 -0300 From: Alvaro Herrera To: Abhijit Menon-Sen Cc: David Steele , Robert Haas , pgsql-hackers@postgresql.org, Alexander Korotkov Subject: Re: dealing with extension dependencies that aren't quite 'e' Message-ID: <20160405135849.GA254264@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160405073857.GA22826@toroid.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Abhijit Menon-Sen wrote: > At 2016-04-05 12:33:56 +0530, ams@2ndQuadrant.com wrote: > > > > Álvaro: I did document and test the extra types you added, but now > > that I think about it a bit more, it's hard to argue that it's useful > > to have a table, for example, depend on an extension. There's really > > nothing about a table that "doesn't work without" an extension. > > I think it makes sense to implement this for triggers and functions. It > may also be useful for indexes and materialised views, which can refer > to functions in an extension (and in future, sequences as well). > > It's certainly good to know the grammar would work if we wanted to add > other object types in future, but I think we should leave it at that. Yes, agreed. What I implemented weren't cases that were supposed to be useful to users, only those for which I thought it was good to test bison with. Sorry I wasn't clear about this. Feel free the strip out (some of?) them, if they aren't useful. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers