pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ferrett <scott@ferrettconsulting.com>
To: pgsql-odbc@postgresql.org
Subject: SQLDescribeCol not returning correct information for time fields
Date: Fri, 4 Mar 2016 18:07:26 +1100
Message-ID: <56D9342E.30801@ferrettconsulting.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>


According to 
https://msdn.microsoft.com/en-us/library/ms709314%28v=vs.85%29.aspx, 
SQLDescribeCol should return "The number of digits to the right of the 
decimal point in the seconds part of the value (fractional seconds). 
This number cannot be negative." for datetime fields.  The 32bit 
PostgreSQL ODBC Driver(ANSI) version 9.05.01.00 always returns 0 
regardless of the precision defined for a time or timestamp fields.

Cheers,
  Scott Ferrett



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



Message-ID: <56D9342E.30801@ferrettconsulting.com>
Permalink:  ../56D9342E.30801@ferrettconsulting.com/
Also on:    postgresql.org/message-id/56D9342E.30801@ferrettconsulting.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: scott@ferrettconsulting.com
  Subject: Re: SQLDescribeCol not returning correct information for time fields
  In-Reply-To: <56D9342E.30801@ferrettconsulting.com>
  References: <56D9342E.30801@ferrettconsulting.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