Re: [HACKERS] RESET CONNECTION idea

2005-06-07 Thread Tom Lane
Bruce Momjian writes: > What if we create a 'reset_connection' guc that is initially false, and > is set to 'true' when someone resets a connection. Then, when it > happens, the client finds out, reconfigures whatever it needs, then sets > the value back to 'false'. It seems to me that one could

[HACKERS] RESET CONNECTION idea

2005-06-07 Thread Bruce Momjian
Our current RESET CONNECTION TODO item is: * Add RESET CONNECTION command to reset all session state This would include resetting of all variables (RESET ALL), dropping of temporary tables, removing any NOTIFYs, cursors, open transactions, prepared qu