pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: dmigowski@ikoffice.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13800: There is no UNLOAD command
Date: Sun, 06 Dec 2015 10:57:34 -0500
Message-ID: <10003.1449417454@sss.pgh.pa.us> (raw)
In-Reply-To: <20151206124941.2622.44171@wrigleys.postgresql.org>
References: <20151206124941.2622.44171@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (4+ messages)  latest in thread

Message-ID: <10003.1449417454@sss.pgh.pa.us>
Permalink:  ../10003.1449417454@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10003.1449417454@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dmigowski@ikoffice.de
  Subject: Re: BUG #13800: There is no UNLOAD command
  In-Reply-To: <10003.1449417454@sss.pgh.pa.us>
  References: <20151206124941.2622.44171@wrigleys.postgresql.org> <10003.1449417454@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox