Re: Regarding conversion of SQL_TSI_DAY operator for Datetimeadd function in ODBC driver - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: Regarding conversion of SQL_TSI_DAY operator for Datetimeadd function in ODBC driver
Date
Msg-id 14a82a75-5f32-048e-b660-955abd5f3b69@dream.email.ne.jp
Whole thread Raw
In response to Re: Regarding conversion of SQL_TSI_DAY operator for Datetimeadd function in ODBC driver  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
Responses Re: Regarding conversion of SQL_TSI_DAY operator forDatetimeadd function in ODBC driver  (Scott Goley <scottmgoley@gmail.com>)
List pgsql-odbc
Oops sorry,
The error was caused by changes about another problem.

Could you please try the test drivers on Windows 11.00.0320 at
?

regards,
Hiroshi Inoue

On 2019/08/14 22:22, Scott Goley wrote:
Hiroshi,

I'm afraid this version has broken my ability to make a connection so I am unable to verify the rest of the changes. This is after verifying the driver updated correctly and is showing on the logs as "11.01.0310"



Best regards,
Scott

On Aug 14 2019, at 6:49 am, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> wrote:
Hi Scott,

Could you please try the test drivers on Windows 11.00.0310 at
?

regards,
Hiroshi Inoue

On 2019/08/13 23:27, Scott Goley wrote:

Hiroshi - my apologies. I believe that I did not appropriately remove the old version prior to adding this one to my system:

This is the correct result for that version of the driver:


The other mylog file is over 25mb. As a result, I'm sharing with you via a dropbox link:

Thank you very much for your quick assistance - I now see the driver attempting to cast via an interval on date fields.

Best,
Scott



On Aug 13 2019, at 8:46 am, Scott Goley <scottmgoley@gmail.com> wrote:
Hi Hiroshi,

Thank you for your response. I am not currently observing any change between this version and the previous version used. Please see the attached.

Best,
Scott

On Aug 12 2019, at 6:44 am, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> wrote:
Hi Scott,

Could you please try the test drivers 11.00.0200 on Windows at
?

regards,
Hiroshi Inoue

On 2019/08/11 7:51, Scott Goley wrote:

Hiroshi,

Thank you for your response. I will definitely look into that.

Is there any resource which specifies what functions and flags are supported via the current psqlODBC driver?  That would be extremely helpful to me if you were aware of one.

Best,
Scott G



On Aug 9 2019, at 8:56 pm, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> wrote:
Hi Scott,

Unfortunately neither TIMESTAMPADD() nor TIMESTAMPDIFF() is supported now.
Could you please try test drivers which would support them?

regards,
Hiroshi Inoue

On 2019/08/09 0:00, Scott Goley wrote:

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

ウイルス フリー。 www.avg.com
Attachment

pgsql-odbc by date:

Previous
From: Scott Goley
Date:
Subject: Re: Regarding conversion of SQL_TSI_DAY operator for Datetimeadd function in ODBC driver
Next
From: Scott Goley
Date:
Subject: Re: Regarding conversion of SQL_TSI_DAY operator forDatetimeadd function in ODBC driver