X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2FFA5D1B8B3 for ; Fri, 29 Aug 2003 13:46:08 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 23228-06 for ; Fri, 29 Aug 2003 10:46:01 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 3D40BD1B8B1 for ; Fri, 29 Aug 2003 10:45:57 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h7TDjqjX014648; Fri, 29 Aug 2003 09:45:52 -0400 (EDT) To: Andrew Biagioni Cc: pgsql-admin@postgresql.org, "Yudha Setiawan" Subject: Re: Can not deleted all record In-reply-to: References: Comments: In-reply-to Andrew Biagioni message dated "Fri, 29 Aug 2003 08:21:37 -0400" Date: Fri, 29 Aug 2003 09:45:52 -0400 Message-ID: <14647.1062164752@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/352 X-Sequence-Number: 10072 Andrew Biagioni writes: > "ERROR: Query was cancelled." usually means that the query is taking too long, > and you exceeded the maximum time specified in your postgresql.conf file. I doubt he has statement_timeout set, or it would have occurred to him that he's shooting himself in the foot ;-) My bet is that something external to Postgres is sending a SIGINT signal to the backend. There are a number of possible reasons for this, but two mistakes I've seen newbies make are: * launch the postmaster from an interactive terminal, and forget to dissociate it completely from the interactive session (should use nohup and make sure that stdin, stdout, stderr are all redirected). Then any control-C typed in that session will zap the postmaster and all backends. * launch postmaster with non-infinite ulimit settings. The backend trying to do a complete vacuum could be hitting limits on process runtime or amount of I/O. regards, tom lane