Re: canceling query - Mailing list pgsql-hackers-win32

From Bruce Momjian
Subject Re: canceling query
Date
Msg-id 200404191341.i3JDf3o06323@candle.pha.pa.us
Whole thread Raw
In response to canceling query  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers-win32
Merlin Moncure wrote:
> Is it normal for a long query to keep running after I close the psql
> session that initiated it?  I made a select * from a,b which naturally
> takes a long time, but the only way to stop it was to bring down the
> postmaster.

The backend should exit automatically when the user exits psql.  How did
you exit psql?  If you just closed the window, I think the query will
keep going even on Unix.

--
  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

pgsql-hackers-win32 by date:

Previous
From: "Merlin Moncure"
Date:
Subject: canceling query
Next
From: "Merlin Moncure"
Date:
Subject: Re: canceling query