Skip site navigation (1) Skip section navigation (2)

Re: canceling query

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: canceling query
Date: 2004-04-19 13:41:03
Message-ID: 200404191341.i3JDf3o06323@candle.pha.pa.us (view raw or flat)
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-hackers-win32 by date

Next:From: Merlin MoncureDate: 2004-04-19 13:58:47
Subject: Re: canceling query
Previous:From: Merlin MoncureDate: 2004-04-19 12:35:46
Subject: canceling query

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group