Re: [PATCHES] Terminating a backend

2008-04-15 Thread Bruce Momjian
Applied. --- Bruce Momjian wrote: > oikBruce Momjian wrote: > > Bruce Momjian wrote: > > > > > When we get the termination signal, why can't we just set a global > > > > > boolean, do a query cancel, and in the setjmp() code

[PATCHES] Terminating a backend

2008-04-14 Thread Bruce Momjian
oikBruce Momjian wrote: > Bruce Momjian wrote: > > > > When we get the termination signal, why can't we just set a global > > > > boolean, do a query cancel, and in the setjmp() code block check the > > > > global and exit --- at that stage we know we have released all locks and > > > > can exit cl