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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers-win32 by date

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