X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 99749D6FF4 for ; Wed, 16 Nov 2005 19:30:44 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 64772-09 for ; Wed, 16 Nov 2005 23:30:46 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from biglumber.com (biglumber.com [207.228.252.42]) by svr1.postgresql.org (Postfix) with SMTP id 65E7FD9177 for ; Wed, 16 Nov 2005 19:30:41 -0400 (AST) Received: (qmail 6623 invoked from network); 16 Nov 2005 23:30:44 -0000 Received: from unknown (HELO localhost) (207.228.252.42) by 0 with SMTP; 16 Nov 2005 23:30:44 -0000 From: "Greg Sabino Mullane" To: pgsql-performance@postgresql.org Subject: Re: Perl DBD and an alarming problem X-PGP-Key: 2529 DF6A B8F7 9407 E944 45B4 BC9B 9067 1496 4AC8 X-Request-PGP: http://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 In-Reply-To: <437B9DA9.2030806@modgraph-usa.com> Date: Wed, 16 Nov 2005 23:30:44 -0000 X-Mailer: JoyMail 1.48 Message-ID: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[AWL=0.000] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/307 X-Sequence-Number: 15564 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I am mystified by the behavior of "alarm" in conjunction with > Postgres/perl/DBD. Here is roughly what I'm doing: > Anyone have a clue what's going on and/or how I can fix it? Not really, but alarm has never worked well (or claimed to) with DBI. The DBI docs recommend trying out Sys::Sigaction: http://search.cpan.org/~lbaxter/Sys-SigAction/ > A secondary question: It appears that $sth->cancel() is not > implemented in the Pg DBD module. Is that true? Correct. DBD::Pg does not support asynchronous connections. It's possible it may in the future, but there has not been much of a perceived need. Feel free to enter a request on CPAN: http://rt.cpan.org/NoAuth/Bugs.html?Dist=DBD-Pg There may be another way around it, if you can tell us some more about what exactly it is you are trying to do. - -- Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 200511161830 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iD8DBQFDe8ErvJuQZxSWSsgRAoZ6AJ9h6gV5U7PyLDJIqXLpSB6r7NWaaQCdESSR CdNexfvYvSQjOLkEdPXd26U= =/W5F -----END PGP SIGNATURE-----