Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 4A3EB9FB567 for ; Wed, 7 Mar 2007 16:20:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 95502-08 for ; Wed, 7 Mar 2007 16:20:27 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id A8E429FB741 for ; Wed, 7 Mar 2007 16:20:29 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l27KKS1e022118; Wed, 7 Mar 2007 15:20:28 -0500 (EST) To: Frank Bax cc: pgsql-interfaces@postgresql.org Subject: Re: DBD-pg - server closed the connection unexpectedly In-reply-to: <5.2.1.1.0.20070307105703.009ff740@pop6.sympatico.ca> References: <5.2.1.1.0.20070307105703.009ff740@pop6.sympatico.ca> Comments: In-reply-to Frank Bax message dated "Wed, 07 Mar 2007 11:12:12 -0500" Date: Wed, 07 Mar 2007 15:20:28 -0500 Message-ID: <22117.1173298828@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.06 tagged_above=0 required=5 tests=AWL, BAYES_50, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200703/19 X-Sequence-Number: 6460 Frank Bax writes: > Here is a portion of my script. The system() call executes successfully > once, then script crashes. Any ideas why this would happen. What shows up in the postmaster log? Can you get a stack trace from the (presumably) crashing backend? regards, tom lane