Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WWoSJ-0004L0-2N for pgsql-odbc@arkaria.postgresql.org; Sun, 06 Apr 2014 14:53:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WWoSI-0000c2-B5 for pgsql-odbc@arkaria.postgresql.org; Sun, 06 Apr 2014 14:53:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WWoSG-0000bI-A2 for pgsql-odbc@postgresql.org; Sun, 06 Apr 2014 14:53:52 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WWoSC-0008WQ-LK for pgsql-odbc@postgresql.org; Sun, 06 Apr 2014 14:53:51 +0000 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 27FB5209AE; Sun, 6 Apr 2014 10:53:46 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 06 Apr 2014 10:53:46 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=H+e9tpW7hP01vQhC+P5HDIGg4C4=; b=n48ozaKjsUrjpLqBgqEgkQyA+wSL ljVme5/O+zBoY2MgdRCnbVyUi6Rrv36s7e2wMrEgokgP9wSBSG7myuMk0200AZZs fbflJs+iQEIuW32jYVpYd87+qhHaHq/JI5N18w6aNJzsn2O7/OLAdQclGpuw8LDd Pl0EaAVPv29xYck= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=H+e9tpW7hP01vQhC+P5HDI Gg4C4=; b=BDgVSFtZmGngzwqFuhZTjKpWAYt8gzUJ8n8tcev8wzteCYPx/nhHor 49OgcmW4rueKKHOqczYdpy6hNZSSi2Ja2fU4KnZR0f9ryqgILmSSuSpSpAo65YoL cYswvm5Z2iXOH1rBK9yJR263znkBnZg51J81/7E1BA30ObjpQkSIo= X-Sasl-enc: xh3aLz3LhQPKx3MbmvaaDcxo83KzobWMOTwCHYksoLen 1396796025 Received: from panda.site (unknown [97.113.11.16]) by mail.messagingengine.com (Postfix) with ESMTPA id A230C680212; Sun, 6 Apr 2014 10:53:45 -0400 (EDT) Message-ID: <53416A78.4000006@aklaver.com> Date: Sun, 06 Apr 2014 07:53:44 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: pg_gg@mailinator.com, pgsql-odbc@postgresql.org Subject: Re: Postgresql ODBC Truncates Timestamp second fractions References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) 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 04/05/2014 09:37 PM, pg_gg@mailinator.com wrote: > We have started with Oracle, but most probably they won't do much about > it as their ODBC driver handles timestamps properly, but not the Unicode > null character, which they have documented as a limitation, so it's hard > to press them on that. > > We were hoping to make it work by using the official PG ODBC driver, and > this driver although handles the problem of null character, has the > problem with timestamps. > > Unfortunately I don't think I'm getting relevant answer to my question > which is where we should look into the code to find out how the PG ODBC > driver handles paramter conversion and specifically SQLDescribeParam and > SQLBindParameter funnction calls. Well that is easy enough. Download the source and grep -E 'SQLDescribeParam|SQLBindParameter' * shows they are defined in odbcapi.c > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc