X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 4BD8E9DCBAB for ; Mon, 27 Mar 2006 05:58:19 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16522-06 for ; Mon, 27 Mar 2006 05:58:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (smtp.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 20AC59DCB7B for ; Mon, 27 Mar 2006 05:58:15 -0400 (AST) Received: (qmail 32511 invoked from network); 27 Mar 2006 18:58:17 +0900 Received: from unknown (HELO ?100.0.32.254?) (100.0.32.254) by sd2.tpf-fw-c.co.jp with SMTP; 27 Mar 2006 18:58:17 +0900 Message-ID: <4427B71F.6060505@tpf.co.jp> Date: Mon, 27 Mar 2006 18:57:51 +0900 From: Hiroshi Inoue User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: =?UTF-8?B?w4VzbXVuZCBLdmVpbSBMaWU=?= CC: "pgsql-odbc@postgresql.org" Subject: Re: [Fwd: Re: MaxLongVarChar and new lines in text] References: <44278322.9070500@nosyko.no> <44279651.1020407@nosyko.no> In-Reply-To: <44279651.1020407@nosyko.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.914 required=5 tests=[AWL=0.103, RCVD_IN_WHOIS_BOGONS=1.811] X-Spam-Score: 1.914 X-Spam-Level: * X-Archive-Number: 200603/178 X-Sequence-Number: 7464 Åsmund Kveim Lie wrote: > >>> Hi, >>> >>> I have sent to the news group (and you) the myLog files, but when I >>> attach them it does not seem like I'm allowed to post them (at least >>> they don’t get through to the news group after six hours). Do you >>> know if I should do it in any other way (e.g. inline them in the >>> mail?). >>> >>> Thank you very much for locking into our problems with new lines. Do >>> you think it’s related to the text array problems? >>> >> >> Please replace the enhanced driver psqlodbc35w.dll by the one at >> http://www.geocities.jp/inocchichichi/psqlodbc/index.html . > > Hi, > This one works much better, but it still don't understand the -4 > correctly. From the psqlodbc_xx.log it looks like it truncates the value > down to 0 byte: The changed driver replies size 0(means the column size cannot be determined) for SQLDescribeCol request while it replied (-4) before the change. Because the parameter is unsigned, the (-4) means the large number 2**32 - 4 in reality. regards, Hiroshi Inoue