Canceling other backend's query

Поиск
Список
Период
Сортировка
Искать

Canceling other backend's query

От:
daq <daq@ugyvitelszolgaltato.hu>
Дата:
Hi,

Can i cancel querys runing on other backends, or disconnect a client
from the server? I can kill the backend process, but sometimes this
causing shared memory troubles.

DAQ


Re: Canceling other backend's query

От:
"scott.marlowe" <scott.marlowe@ihs.com>
Дата:
On Wed, 27 Aug 2003, daq wrote:

> Hi,
> 
> Can i cancel querys runing on other backends, or disconnect a client
> from the server? I can kill the backend process, but sometimes this
> causing shared memory troubles.

If you kill -9 a backend, you will cause the shared memory problem.  Try 
just a plain kill .  That should work without causing shared memory 
to dump.


Re: Canceling other backend's query

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
daq wrote:
> Hi,
> 
> Can i cancel querys runing on other backends, or disconnect a client
> from the server? I can kill the backend process, but sometimes this
> causing shared memory troubles.

See the 'postgres' manual page for a list of signals and their effects.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610) 359-1001 +  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

FAQ