Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkVPX-0008Up-W9 for pgsql-odbc@arkaria.postgresql.org; Wed, 14 May 2014 09:23:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WkVPX-00043D-AF for pgsql-odbc@arkaria.postgresql.org; Wed, 14 May 2014 09:23:39 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkVPW-000436-CT for pgsql-odbc@postgresql.org; Wed, 14 May 2014 09:23:38 +0000 Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkVPP-0003Y1-Ih for pgsql-odbc@postgresql.org; Wed, 14 May 2014 09:23:37 +0000 Received: by mail-pb0-f44.google.com with SMTP id rq2so1475529pbb.3 for ; Wed, 14 May 2014 02:23:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Ac0U9U1zMBMUGeZuKpe6yZ34cqXFP5yTKnin5HZ8xX0=; b=cQCdhu8wL4Xd6XwFL5eoydjLSnYrbWWT/u+lXSTrw4KxDl9ufnqP6zidjTEojXNENv wKEQyeOnC5xhG+J0/K3E+hxxVfevEP6kFzSE4hpIdVEMClT4+SYaiTp+ZL3mHl0B8TUw /SNqSgRGNTl9e0gEOciKXkJ8VHobZjhO2YzQZPxVG48HabMcQwtKTVoFvNz/6pSz/h7U Gznm8CsCG0MZzFERkX4O46JzyOFQB5Gmp0j6gzedG+tu076y9alEF9LDykaM2/MlReQ7 m45arJG2W75U46bLj5dVIrQbps9ElbTaBRrtq6RQLjeyI1WyRJsbySh1UEmwZwvlvwB8 IGBw== X-Received: by 10.68.233.37 with SMTP id tt5mr2989580pbc.154.1400059410897; Wed, 14 May 2014 02:23:30 -0700 (PDT) Received: from [10.128.70.87] (dsl-58-6-192-58.wa.westnet.com.au. [58.6.192.58]) by mx.google.com with ESMTPSA id tb4sm5622502pac.45.2014.05.14.02.23.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 02:23:29 -0700 (PDT) Message-ID: <5373360E.5010304@gmail.com> Date: Wed, 14 May 2014 17:23:26 +0800 From: aihtdikh Reply-To: aihtdikh@gmail.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Dev Kumkar CC: "pgsql-odbc@postgresql.org" Subject: Re: ODBC : SQLGetData question References: <53730FFB.5020304@gmail.com> <53732D9D.1060605@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 14/05/14 17:07, Dev Kumkar wrote: > Yes, the platform is 64-bit. > We are deploying the driver as it is and not compiling it in-house > currently. > > Do you see any issues with the (int) typecast done for SQLLEN? > It will certainly work for this call to SQLGetData, now that you know the workaround. However, I can't guess where else issues may appear if there really is a mismatch in data size between the driver, odbc manager and/or the application. It may work right now, but for me, I would certainly be trying to get to the bottom of it in case it causes more weird problems. Regards, Harun -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc