Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 35DF31927EA2 for ; Fri, 13 Apr 2012 19:28:00 -0300 (ADT) Received: from sd.tpf.co.jp ([210.161.239.34]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1SIoyE-0004Ab-Gs for pgsql-odbc@postgresql.org; Fri, 13 Apr 2012 22:27:59 +0000 Received: (qmail 15234 invoked by uid 512); 13 Apr 2012 22:27:43 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 13 Apr 2012 22:27:43 -0000 Received: from unknown (HELO ?192.168.24.54?) (183.76.20.202) by sd.tpf.co.jp with SMTP; 13 Apr 2012 22:27:43 -0000 Message-ID: <4F88A85E.6070104@tpf.co.jp> Date: Sat, 14 Apr 2012 07:27:42 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Barry Bell CC: "pgsql-odbc@postgresql.org" Subject: Re: Passing numeric Bind variables to ODBC driver convers to "Double precision" References: <542B943ED5D72E408BF9CBBD61ABC94D52D10C5C@VA3DIAXVSC31.RED001.local> <4F86D779.8050100@tpf.co.jp> <542B943ED5D72E408BF9CBBD61ABC94D52D11039@VA3DIAXVSC31.RED001.local> <4F8829A9.4000500@tpf.co.jp> <542B943ED5D72E408BF9CBBD61ABC94D52D11168@VA3DIAXVSC31.RED001.local> In-Reply-To: <542B943ED5D72E408BF9CBBD61ABC94D52D11168@VA3DIAXVSC31.RED001.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/16 X-Sequence-Number: 10830 (2012/04/14 3:00), Barry Bell wrote: > Note: The UseServerSidePrepare=1; only works with the PostgresSQL 9.01 driver (It will not work with the 9.00 driver) > > Setting TextAsLongVarchar=0 has no effect on the blanks("") comes back as longvarchar. > > UnknownsAsLongVarchar=0 or UnknownsAsLongVarchar=1 has no effect on this either. Could you send me the Mylog output? You can take the log by adding Debug=1; in your connection string. regards, Hiroshi Inoue