Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anLZo-00085E-NR for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Apr 2016 07:39:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1anLZo-0008Kk-AN for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Apr 2016 07:39:04 +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 1anLZn-0008Ke-Rd for pgsql-hackers@postgresql.org; Tue, 05 Apr 2016 07:39:03 +0000 Received: from raven.toroid.org ([2a01:4f8:121:3401::2]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anLZk-0002HB-LA for pgsql-hackers@postgresql.org; Tue, 05 Apr 2016 07:39:02 +0000 Received: from kea.toroid.org (unknown [10.9.8.10]) by raven.toroid.org (Postfix) with ESMTP id BCCB8240C688; Tue, 5 Apr 2016 09:38:58 +0200 (CEST) Received: by kea.toroid.org (Postfix, from userid 1000) id DFD914E1610; Tue, 5 Apr 2016 13:08:57 +0530 (IST) Date: Tue, 5 Apr 2016 13:08:57 +0530 From: Abhijit Menon-Sen To: Alvaro Herrera Cc: David Steele , Robert Haas , pgsql-hackers@postgresql.org, Alexander Korotkov Subject: Re: dealing with extension dependencies that aren't quite 'e' Message-ID: <20160405073857.GA22826@toroid.org> References: <20160401123136.GA6379@toroid.org> <20160404215503.GA237481@alvherre.pgsql> <20160405022530.GA3078@toroid.org> <20160405063532.GA20712@toroid.org> <20160405070356.GA21967@toroid.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160405070356.GA21967@toroid.org> X-Pg-Spam-Score: -1.9 (-) 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 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. Thoughts? -- Abhijit -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers