Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B27971337B47 for ; Thu, 10 Feb 2011 04:07:46 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 88982-04 for ; Thu, 10 Feb 2011 08:07:39 +0000 (UTC) X-Greylist: delayed 00:09:53.917782 by SQLgrey-1.7.6 Received: from smtpmx01.uni-oldenburg.de (smtpmx01.uni-oldenburg.de [134.106.87.102]) by mail.postgresql.org (Postfix) with ESMTP id A08311337B84 for ; Thu, 10 Feb 2011 04:07:38 -0400 (AST) Received: from webmail.uni-oldenburg.de (webmail03.uni-oldenburg.de [134.106.87.216]) by smtpmx01.uni-oldenburg.de (8.14.4/8.14.4) with ESMTP id p1A7vgS8014673; Thu, 10 Feb 2011 08:57:42 +0100 (envelope-from zac@uni-oldenburg.de) Received: from 212.6.96.243 by webmail.uni-oldenburg.de with HTTP; Thu, 10 Feb 2011 08:57:42 +0100 (CET) Message-ID: <2779.212.6.96.243.1297324662.squirrel@webmail.uni-oldenburg.de> In-Reply-To: References: Date: Thu, 10 Feb 2011 08:57:42 +0100 (CET) Subject: Re: Perl Libraries and Postgres From: "Norbert Zacharias" To: "Sam Stearns" Cc: pgsql-admin@postgresql.org User-Agent: SquirrelMail/1.4.8-5.el5_4.10 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/63 X-Sequence-Number: 36702 Moin, > Howdy, > > Environment: > > Postgres 8.3.13 > Solaris 10 > > I have a SELECT query that runs no problem standalone but when running > within a perl script it intermittently core dumps. Random, no pattern > to the timing of the core dumps. The perl script processes the rows > from the query, if the rows satisfy a condition then the perl script > adds the rows to another table. When the script works it runs for > about a minute. If the script fails, it runs for about 5 minutes and > core dumps. The core dump is in the perl error handling routines. We > suspect the bug is related to how the perl postgres libraries interact > with postgres. This might be more a question for a perl group. >> perl -V > Summary of my perl5 (revision 5 version 8 subversion 8) configuration: May be an upgrade to 5.10 will solve the problem ? > Anyone have any ideas? see above ;-) Regards Norbert