Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a5bhB-0001Zg-F3 for pgsql-bugs@arkaria.postgresql.org; Sun, 06 Dec 2015 15:57:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a5bhA-0003Re-7j for pgsql-bugs@arkaria.postgresql.org; Sun, 06 Dec 2015 15:57:52 +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) (envelope-from ) id 1a5bh9-0003RK-H7 for pgsql-bugs@postgresql.org; Sun, 06 Dec 2015 15:57:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a5bh2-00076T-KE for pgsql-bugs@postgresql.org; Sun, 06 Dec 2015 15:57:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id tB6FvYDu010004; Sun, 6 Dec 2015 10:57:34 -0500 From: Tom Lane To: dmigowski@ikoffice.de cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13800: There is no UNLOAD command In-reply-to: <20151206124941.2622.44171@wrigleys.postgresql.org> References: <20151206124941.2622.44171@wrigleys.postgresql.org> Comments: In-reply-to dmigowski@ikoffice.de message dated "Sun, 06 Dec 2015 12:49:41 +0000" Date: Sun, 06 Dec 2015 10:57:34 -0500 Message-ID: <10003.1449417454@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-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org dmigowski@ikoffice.de writes: > While creating extensions in C it is very cumbersome to disconnect, restart, > connect everytime I recompile my C stuff. Why would you need to restart? Just starting a fresh connection ought to be enough. There's pretty much no chance UNLOAD will ever happen, so don't hold your breath waiting. We lack any defined method, for example, for extensions to disconnect from function hooks once they've inserted something in them. (Reversing what was done at LOAD time wouldn't work, since it'd break any subsequent attachments to the same hook.) Custom GUCs would be another big problem to reverse out, and if I'd consumed any caffeine yet today I could probably name several other trouble spots. It's not insoluble, perhaps, but the amount of work required seems far out of proportion to the benefits. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs