Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 4E78E1B25E4D for ; Thu, 15 Mar 2012 16:05:13 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S8Fz6-0005aT-A2 for pgsql-bugs@postgresql.org; Thu, 15 Mar 2012 19:05:12 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S8Fyt-0001ma-G2 for pgsql-bugs@postgresql.org; Thu, 15 Mar 2012 19:05:00 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1S8Fys-0003bI-Rz for pgsql-bugs@postgresql.org; Thu, 15 Mar 2012 19:04:58 +0000 Date: Thu, 15 Mar 2012 19:04:58 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6534: Passing numeric Bind variables to ODBC driver convers to "Double precision" To: pgsql-bugs@postgresql.org From: barry_bell@harte-hanks.com X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201203/114 X-Sequence-Number: 32675 The following bug has been logged on the website: Bug reference: 6534 Logged by: Barry Bell Email address: barry_bell@harte-hanks.com PostgreSQL version: 9.1.2 Operating system: Windows Server 2003 = Description: = Using the lastest of ODBC ANSI driver for windows 32bit ver 9.00.03 Calling from MS VFP 9.0 public nvar as interger nvar=3D1 running the following sql: "( select function_pkg(?nvar) " The bind variable nvar will show in postgres as "Double Precision" format instead of integer. Is there a setting on the ODBC driver for incoming vairables? If not it is a buf.