[HACKERS] remote query debugging was: Plugins redux

2006-08-09 Thread Andreas Pflug
Tom Lane wrote: The other, probably more controversial bit of functionality is that there needs to be a way to cause a backend to load a PL plugin shared library without any cooperation from the connected client application. For interactive use of a PL debugger it might be sufficient to tell

Re: [HACKERS] remote query debugging was: Plugins redux

2006-08-09 Thread Tom Lane
Andreas Pflug [EMAIL PROTECTED] writes: Tom Lane wrote: The other, probably more controversial bit of functionality is that there needs to be a way to cause a backend to load a PL plugin shared library without any cooperation from the connected client application. A similar issue applies to

Re: [HACKERS] remote query debugging was: Plugins redux

2006-08-09 Thread Andreas Pflug
Tom Lane wrote: I'd turn that around: I think you are arguing for a way to change GUC settings on-the-fly for a single existing session, without cooperation from the client. Ok, implemented that way would solve it (partially) Something like pg_set_guc(pid int4, varname text, value text)