Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aK7rV-0006wP-KA for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jan 2016 17:08:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aK7rV-0001ra-5A for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jan 2016 17:08:33 +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_SHA384:256) (Exim 4.84) (envelope-from ) id 1aK7rU-0001qG-EN for pgsql-hackers@postgresql.org; Fri, 15 Jan 2016 17:08:32 +0000 Received: from raven.toroid.org ([2a01:4f8:121:3401::2]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aK7rR-000785-Vm for pgsql-hackers@postgresql.org; Fri, 15 Jan 2016 17:08:31 +0000 Received: from kea.toroid.org (unknown [10.9.8.10]) by raven.toroid.org (Postfix) with ESMTP id 9597B240C688; Fri, 15 Jan 2016 18:08:28 +0100 (CET) Received: by kea.toroid.org (Postfix, from userid 1000) id 361D84E15E3; Fri, 15 Jan 2016 22:38:26 +0530 (IST) Date: Fri, 15 Jan 2016 22:38:26 +0530 From: Abhijit Menon-Sen To: Tom Lane , "David G. Johnston" Cc: pgsql-hackers@postgresql.org Subject: Re: dealing with extension dependencies that aren't quite 'e' Message-ID: <20160115170826.GA28307@toroid.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18108.1452869354@sss.pgh.pa.us> 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 I'm sorry, it wasn't clear from my earlier post that the triggers are dependent on a function provided by the extension. So when you do CREATE EXTENSION foo, it creates foo_somefunc() that RETURNS TRIGGER. Later, a trigger is created (somehow; in this case it is by some other function in the extension, but it could be by the user directly as well) that executes this function. But that's only a partial answer to the questions raised here, and I'll return to the drawing board and draw up a more complete explanation. Thanks for reading. -- Abhijit -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers