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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Mon, 19 Apr 2004 09:41:03 -0400 (EDT)
  • Message-id: <200404191341(dot)i3JDf3o06323(at)candle(dot)pha(dot)pa(dot)us>

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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group