pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: pg_gg@mailinator.com
To: pgsql-odbc@postgresql.org
Subject: Re: Postgresql ODBC Truncates Timestamp second fractions
Date: Sun, 06 Apr 2014 07:53:44 -0700
Message-ID: <53416A78.4000006@aklaver.com> (raw)
In-Reply-To: <E1WWeqB-00018c-LR@free.hostodon.me>
References: <E1WWeqB-00018c-LR@free.hostodon.me>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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



view thread (6+ messages)

Message-ID: <53416A78.4000006@aklaver.com>
Permalink:  ../53416A78.4000006@aklaver.com/
Also on:    postgresql.org/message-id/53416A78.4000006@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: adrian.klaver@aklaver.com, pg_gg@mailinator.com
  Subject: Re: Postgresql ODBC Truncates Timestamp second fractions
  In-Reply-To: <53416A78.4000006@aklaver.com>
  References: <E1WWeqB-00018c-LR@free.hostodon.me> <53416A78.4000006@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox