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: (view raw, whole thread or download thread mbox)
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                        |
  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-2017 The PostgreSQL Global Development Group