Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 7224E6332E2 for ; Thu, 2 Jul 2009 11:57:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 68453-08 for ; Thu, 2 Jul 2009 11:57:12 -0300 (ADT) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by mail.postgresql.org (Postfix) with ESMTP id 23BC06329A2 for ; Thu, 2 Jul 2009 11:57:22 -0300 (ADT) Received: from localhost (maia-1.hub.org [200.46.208.211]) by pgfoundry.org (Postfix) with ESMTP id EA28D10721C5 for ; Thu, 2 Jul 2009 14:57:19 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 68546-04 for ; Thu, 2 Jul 2009 11:57:09 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 1181) id 407FC10721C4; Thu, 2 Jul 2009 14:57:17 +0000 (UTC) MIME-Version: 1.0 To: pgsql-committers@postgresql.org Subject: npgsql - Npgsql2: [#1010666] CommandTimeout does gets reset to 20 when X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ X-PgFoundry: npgsql - Content-Type: text/plain; charset=utf-8 Message-Id: <20090702145717.407FC10721C4@pgfoundry.org> Date: Thu, 2 Jul 2009 14:57:17 +0000 (UTC) From: fxjr@pgfoundry.org (User Fxjr) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.416 tagged_above=0 required=5 tests=AWL=-0.083, NO_RELAYS=-0.001, URI_NOVOWEL=0.5 X-Spam-Level: X-Archive-Number: 200907/17 X-Sequence-Number: 37620 Log Message: ----------- [#1010666] CommandTimeout does gets reset to 20 when a Connection object is assigned to it. Now, if a command timeout is set to NpgsqlCommand, it will respect this timeout regardless of the value set in connection string. Thanks Debabrata Das for testcase. Modified Files: -------------- Npgsql2/src/Npgsql: NpgsqlCommand.cs (r1.41 -> r1.42) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlCommand.cs?r1=1.41&r2=1.42)