Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 537322E0037 for ; Sun, 23 Mar 2008 15:14:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 42567-02; Sun, 23 Mar 2008 15:14:17 -0300 (ADT) Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 5D7572E004B; Sun, 23 Mar 2008 15:14:17 -0300 (ADT) Received: from p54BBFDC5.dip.t-dialin.net (p54BBFDC5.dip.t-dialin.net [84.187.253.197]) by webmail.postgresql.org (Horde MIME library) with HTTP; Sun, 23 Mar 2008 18:14:17 +0000 Message-ID: <20080323181417.kss01e5zvkkkk80c@webmail.postgresql.org> Date: Sun, 23 Mar 2008 18:14:17 +0000 From: meskes@postgresql.org To: Michael Meskes Cc: Edmund Bacon , pgsql-interfaces@postgresql.org Subject: Re: ECPG connection timeouts References: <20080323173410.GB6560@feivel.credativ.de> In-Reply-To: <20080323173410.GB6560@feivel.credativ.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.2) / FreeBSD-6.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.054 tagged_above=0 required=5 tests=AWL=-3.445, HELO_LOCALHOST=4.499 X-Spam-Level: * X-Archive-Number: 200803/4 X-Sequence-Number: 6711 [Answering my own email ...] Zitat von Michael Meskes : > However, you will notice that this doesn't work as I just found that the > parser doesn't like the "=14" part. I will fix this in a minute. Need to step backward a little bit. Fixing the parser was easy, but apparently PQsetdbLogin does not really set the option correctly. Before looking for the bug which might be a formatting problem in ecpg but appears to be a PQsetdbLogin limitation I think I better spend the time upgrading to use PQconnectDB instead. BTW shouldn't setting PGOPTIONS (?) accordingly work too? Not sure after seeing PQsetdbLogin fail. Michael