From: Scott Goley <scottmgoley@gmail.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Regarding conversion of SQL_TSI_DAY operator for Datetimeadd function in ODBC driver
Date: Thu, 8 Aug 2019 11:00:41 -0400
Message-ID: <7F0D7846-95BA-4396-BDEC-FEC80D4C1ECC@getmailspring.com> (raw)
Hi,
Platform / Version info:
Postgres 11.4
psqlODBC_x64 v 11.01.0000
I'm a developer working with PowerQuery / ODBC and I'm running into the following issue.
I'm developing a custom connector which is utilizing this driver. I've attached the logs as requested when making a bug report. It looks like the SQL_TSI_DAY operator is being "interpreted" by the driver as a column reference rather than making the necessary conversion to the correct datetimeadd "interval" .
I'm attaching the connector file - ODBCPostgresDirect simply because it contains all the flags that I'm setting for SQLCapabilities, ODBC function overrides etc.
Any input on this would be helpful.
Best,
Scott
Attachments:Pasted File.png (image/png, 12.6K) downloadview image
mylog_Microsoft_8824.log (application/octet-stream, 611.5K) download
mylog_Microsoft_408.log (application/octet-stream, 3.6M) download
ODBCPostgresDirect.pq (application/octet-stream, 19.6K) download
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: scottmgoley@gmail.com
Subject: Re: Regarding conversion of SQL_TSI_DAY operator for Datetimeadd function in ODBC driver
In-Reply-To: <7F0D7846-95BA-4396-BDEC-FEC80D4C1ECC@getmailspring.com>
References: <7F0D7846-95BA-4396-BDEC-FEC80D4C1ECC@getmailspring.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