Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 99961798CC9 for ; Wed, 17 Mar 2010 12:18:37 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 33066-04 for ; Wed, 17 Mar 2010 15:18:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id ED16564297D for ; Wed, 17 Mar 2010 12:18:26 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id o2HFIPk02221; Wed, 17 Mar 2010 11:18:25 -0400 (EDT) From: Bruce Momjian Message-Id: <201003171518.o2HFIPk02221@momjian.us> Subject: Re: pg_stop_backup() In-Reply-To: <0F69574F9901D4459C6B75C9FF64FBC40483C59D@mxfl01.hollywoodmedia.corp> To: Vitaly Burshteyn Date: Wed, 17 Mar 2010 11:18:25 -0400 (EDT) CC: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/117 X-Sequence-Number: 33916 Vitaly Burshteyn wrote: > Out of curiosity, any idea why every time I run select > pg_stop_backup(); it goes into an infinite loop? While the > first part of this select pg_start_backup(?label?) works without > any issues?? pg_start_backup() is waiting for the archives to be stored. I would look in the server logs to see if something if failing there. 9.0 will have better feedback when pg_stop_backup hangs like that. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com PG East: http://www.enterprisedb.com/community/nav-pg-east-2010.do