Re: Regarding conversion of SQL_TSI_DAY operator for Datetimeadd function in ODBC driver

Scott Goley <[email protected]> Wed, 14 Aug 2019 16:10:16 -0400
Newsgroups gmane.comp.db.postgresql.odbc
Message-ID <[email protected]>
--5d546aa8_0_5b4b80c4
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hiroshi,

I'm happy to say that this has reflected a massive improvement in perform=
ance for this connector / driver.
Thank you very much=21
I can tell there are some edge cases which are not working as expected bu=
t in general this meets my very high level requirements.
Let me take a few days to isolate these particular issues remaining with =
reproducible conditions before sending you further logs.

I am most grateful.
Scott
On Aug 14 2019, at 10:24 am, Inoue, Hiroshi <h-inoue=40dream.email.ne.jp>=
 wrote:
>
> Oops sorry,
> The error was caused by changes about another problem.
>
> Could you please try the test drivers on Windows 11.00.0320 at
> https://winpg.jp/=7Einoue/psqlodbc/index.html (https://link.getmailspri=
ng.com/link/827528D4-=46338-402D-B793-8695C80712C1=40getmailspring.com/0=3F=
redirect=3Dhttps%3A%2=46%2=46link.getmailspring.com%2=46link%2=4659D870E8=
-5ACB-407C-9724-B=46=46629=46=462DD7%40getmailspring.com%2=461%3=46redire=
ct%3Dhttps%253A%252=46%252=46winpg.jp%252=46=7Einoue%252=46psqlodbc%252=46=
index.html%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%253D%253D&r=
ecipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D)
> =3F
>
> 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 t=
he driver updated correctly and is showing on the logs as =2211.01.0310=22=

> >
> >
> > Best regards,
> > Scott
> >
> > On Aug 14 2019, at 6:49 am, Inoue, Hiroshi <h-inoue=40dream.email.ne.=
jp> (mailto:h-inoue=40dream.email.ne.jp) wrote:
> > > Hi Scott,
> > >
> > > Could you please try the test drivers on Windows 11.00.0310 at
> > > https://winpg.jp/=7Einoue/psqlodbc/index.html (https://link.getmail=
spring.com/link/827528D4-=46338-402D-B793-8695C80712C1=40getmailspring.co=
m/0=3Fredirect=3Dhttps%3A%2=46%2=46link.getmailspring.com%2=46link%2=4659=
D870E8-5ACB-407C-9724-B=46=46629=46=462DD7%40getmailspring.com%2=461%3=46=
redirect%3Dhttps%253A%252=46%252=46winpg.jp%252=46=7Einoue%252=46psqlodbc=
%252=46index.html%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%253D=
%253D&recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D)
> > > =3F
> > >
> > > regards,
> > > Hiroshi Inoue
> > >
> > > On 2019/08/13 23:27, Scott Goley wrote:
> > > >
> > > > Hiroshi - my apologies. I believe that I did not appropriately re=
move 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:
> > > > https://www.dropbox.com/s/iwff1b3dl36forr/mylog=5FMicrosoft=5F229=
16.log=3Fdl=3D0 (https://link.getmailspring.com/link/827528D4-=46338-402D=
-B793-8695C80712C1=40getmailspring.com/1=3Fredirect=3Dhttps%3A%2=46%2=46l=
ink.getmailspring.com%2=46link%2=4659D870E8-5ACB-407C-9724-B=46=46629=46=46=
2DD7%40getmailspring.com%2=460%3=46redirect%3Dhttps%253A%252=46%252=46www=
.dropbox.com%252=46s%252=46iwff1b3dl36forr%252=46mylog=5FMicrosoft=5F2291=
6.log%253=46dl%253D0%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%2=
53D%253D&recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D)
> > > > Thank you very much for your quick assistance - I now see the dri=
ver attempting to cast via an interval on date fields.
> > > >
> > > > Best,
> > > > Scott
> > > >
> > > >
> > > >
> > > > On Aug 13 2019, at 8:46 am, Scott Goley <scottmgoley=40gmail.com>=
 (https://link.getmailspring.com/link/827528D4-=46338-402D-B793-8695C8071=
2C1=40getmailspring.com/2=3Fredirect=3Dmailto%3Ascottmgoley%40gmail.com&r=
ecipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D) wrote:
> > > > > Hi Hiroshi,
> > > > >
> > > > > Thank you for your response. I am not currently observing any c=
hange 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=40dream.ema=
il.ne.jp> (https://link.getmailspring.com/link/827528D4-=46338-402D-B793-=
8695C80712C1=40getmailspring.com/3=3Fredirect=3Dmailto%3Ah-inoue%40dream.=
email.ne.jp&recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D) wrote=
:
> > > > > > Hi Scott,
> > > > > >
> > > > > > Could you please try the test drivers 11.00.0200 on Windows a=
t
> > > > > > https://winpg.jp/=7Einoue/psqlodbc/index.html (https://link.g=
etmailspring.com/link/827528D4-=46338-402D-B793-8695C80712C1=40getmailspr=
ing.com/4=3Fredirect=3Dhttps%3A%2=46%2=46link.getmailspring.com%2=46link%=
2=4659D870E8-5ACB-407C-9724-B=46=46629=46=462DD7%40getmailspring.com%2=46=
1%3=46redirect%3Dhttps%253A%252=46%252=46winpg.jp%252=46=7Einoue%252=46ps=
qlodbc%252=46index.html%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qc=
A%253D%253D&recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D)
> > > > > > =3F
> > > > > >
> > > > > > regards,
> > > > > > Hiroshi Inoue
> > > > > >
> > > > > > On 2019/08/11 7:51, Scott Goley wrote:
> > > > > > >
> > > > > > > Hiroshi,
> > > > > > > Thank you for your response. I will definitely look into th=
at.
> > > > > > > Is there any resource which specifies what functions and fl=
ags are supported via the current psqlODBC driver=3F That would be extrem=
ely helpful to me if you were aware of one.
> > > > > > > Best,
> > > > > > > Scott G
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Aug 9 2019, at 8:56 pm, Inoue, Hiroshi <h-inoue=40dream.=
email.ne.jp> (https://link.getmailspring.com/link/827528D4-=46338-402D-B7=
93-8695C80712C1=40getmailspring.com/5=3Fredirect=3Dhttps%3A%2=46%2=46link=
.getmailspring.com%2=46link%2=4659D870E8-5ACB-407C-9724-B=46=46629=46=462=
DD7%40getmailspring.com%2=462%3=46redirect%3Dmailto%253Ah-inoue%2540dream=
.email.ne.jp%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%253D%253D=
&recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D) wrote:
> > > > > > > > Hi Scott,
> > > > > > > >
> > > > > > > > Unfortunately neither TIMESTAMPADD() nor TIMESTAMPDI=46=46=
() is supported now.
> > > > > > > > Could you please try test drivers which would support the=
m=3F
> > > > > > > >
> > > > > > > > regards,
> > > > > > > > Hiroshi Inoue
> > > > > > > >
> > > > > > > > On 2019/08/09 0:00, Scott Goley wrote:
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > > Platform / Version info:
> > > > > > > > > Postgres 11.4
> > > > > > > > > psqlODBC=5Fx64 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 th=
is driver. I've attached the logs as requested when making a bug report. =
It looks like the SQL=5FTSI=5FDAY operator is being =22interpreted=22 by =
the driver as a column reference rather than making the necessary convers=
ion to the correct datetimeadd =22interval=22 .
> > > > > > > > > I'm attaching the connector file - ODBCPostgresDirect s=
imply because it contains all the flags that I'm setting for SQLCapabilit=
ies, ODBC function overrides etc.
> > > > > > > > > Any input on this would be helpful.
> > > > > > > > > Best,
> > > > > > > > > Scott
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>
> =E3=82=A6=E3=82=A4=E3=83=AB=E3=82=B9 =E3=83=95=E3=83=AA=E3=83=BC=EF=BD=A1=
 www.avg.com (http://www.avg.com/email-signature=3Futm=5Fmedium=3Demail&u=
tm=5Fsource=3Dlink&utm=5Fcampaign=3Dsig-email&utm=5Fcontent=3Demailclient=
)
--5d546aa8_0_5b4b80c4
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>Hiroshi, </div><br><div>I'm happy to say that this has reflected a m=
assive improvement in performance for this connector / driver. </div><br>=
<div>Thank you very much=21</div><br><div>I can tell there are some edge =
cases which are not working as expected but in general this meets my very=
 high level requirements. </div><div>Let me take a few days to isolate th=
ese particular issues remaining with reproducible conditions before sendi=
ng you further logs. </div><br><div>I am most grateful. </div><br><div>Sc=
ott</div><br><div class=3D=22gmail=5Fquote=5Fattribution=22>On Aug 14 201=
9, at 10:24 am, Inoue, Hiroshi &lt;h-inoue=40dream.email.ne.jp&gt; wrote:=
</div><blockquote><div><br><div><div>Oops sorry,</div><div>The error was =
caused by changes about another problem.</div><br><div>Could you please t=
ry the test drivers on Windows 11.00.0320 at</div></div><div><a href=3D=22=
https://link.getmailspring.com/link/827528D4-=46338-402D-B793-8695C80712C=
1=40getmailspring.com/0=3Fredirect=3Dhttps%3A%2=46%2=46link.getmailspring=
.com%2=46link%2=4659D870E8-5ACB-407C-9724-B=46=46629=46=462DD7%40getmails=
pring.com%2=461%3=46redirect%3Dhttps%253A%252=46%252=46winpg.jp%252=46=7E=
inoue%252=46psqlodbc%252=46index.html%26recipient%3DaC1pbm91ZUBkcmVhbS5lb=
W=46pbC5uZS5qcA%253D%253D&amp;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZ=
S5qcA%3D%3D=22 title=3D=22https://link.getmailspring.com/link/827528D4-=46=
338-402D-B793-8695C80712C1=40getmailspring.com/0=3Fredirect=3Dhttps%3A%2=46=
%2=46link.getmailspring.com%2=46link%2=4659D870E8-5ACB-407C-9724-B=46=466=
29=46=462DD7%40getmailspring.com%2=461%3=46redirect%3Dhttps%253A%252=46%2=
52=46winpg.jp%252=46=7Einoue%252=46psqlodbc%252=46index.html%26recipient%=
3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%253D%253D&amp;recipient=3DaC1pbm91=
ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D=22>https://winpg.jp/=7Einoue/psqlodbc/=
index.html</a></div><div><div>=3F</div><br><div>regards,</div><div>Hirosh=
i Inoue</div></div><br><div class=3D=22moz-cite-prefix=22><div>On 2019/08=
/14 22:22, Scott Goley wrote:</div></div><blockquote><br><div>Hiroshi,</d=
iv><br><div>I'm afraid this version has broken my ability to make a conne=
ction so I am unable to verify the rest of the changes. This is after ver=
ifying the driver updated correctly and is showing on the logs as =2211.0=
1.0310=22</div><br><div><img alt=3D=22=22 src=3D=22cid:part2.E18B7A2C.6A5=
81A44=40dream.email.ne.jp=22></div><br><div><img alt=3D=22=22 src=3D=22ci=
d:part3.B2A05C7C.8C8D50DC=40dream.email.ne.jp=22></div><br><div>Best rega=
rds,</div><div>Scott</div><br><div class=3D=22gmail=5Fquote=5Fattribution=
=22>On Aug 14 2019, at 6:49 am, Inoue, Hiroshi <a href=3D=22mailto:h-inou=
e=40dream.email.ne.jp=22 title=3D=22mailto:h-inoue=40dream.email.ne.jp=22=
>&lt;h-inoue=40dream.email.ne.jp&gt;</a> wrote:</div><blockquote><div><di=
v>Hi Scott,</div><br><div>Could you please try the test drivers on Window=
s 11.00.0310 at</div><div><a href=3D=22https://link.getmailspring.com/lin=
k/827528D4-=46338-402D-B793-8695C80712C1=40getmailspring.com/0=3Fredirect=
=3Dhttps%3A%2=46%2=46link.getmailspring.com%2=46link%2=4659D870E8-5ACB-40=
7C-9724-B=46=46629=46=462DD7%40getmailspring.com%2=461%3=46redirect%3Dhtt=
ps%253A%252=46%252=46winpg.jp%252=46=7Einoue%252=46psqlodbc%252=46index.h=
tml%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%253D%253D&amp;reci=
pient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D=22 title=3D=22https://=
link.getmailspring.com/link/827528D4-=46338-402D-B793-8695C80712C1=40getm=
ailspring.com/0=3Fredirect=3Dhttps%3A%2=46%2=46link.getmailspring.com%2=46=
link%2=4659D870E8-5ACB-407C-9724-B=46=46629=46=462DD7%40getmailspring.com=
%2=461%3=46redirect%3Dhttps%253A%252=46%252=46winpg.jp%252=46=7Einoue%252=
=46psqlodbc%252=46index.html%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5u=
ZS5qcA%253D%253D&amp;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%=
3D=22>https://winpg.jp/=7Einoue/psqlodbc/index.html</a></div><div>=3F</di=
v><br><div>regards,</div><div><div>Hiroshi Inoue</div><br></div><div clas=
s=3D=22moz-cite-prefix=22><div>On 2019/08/13 23:27, Scott Goley wrote:</d=
iv></div><blockquote><br><div>Hiroshi - my apologies. I believe that I di=
d not appropriately remove the old version prior to adding this one to my=
 system:</div><br><div>This is the correct result for that version of the=
 driver:</div><br><div><img alt=3D=22=22 src=3D=22cid:part2.35A1=46A=46=46=
.B9=46A0EB4=40dream.email.ne.jp=22></div><br><div>The other mylog file is=
 over 25mb. As a result, I'm sharing with you via a dropbox link:</div><b=
r><div><div><a href=3D=22https://link.getmailspring.com/link/827528D4-=46=
338-402D-B793-8695C80712C1=40getmailspring.com/1=3Fredirect=3Dhttps%3A%2=46=
%2=46link.getmailspring.com%2=46link%2=4659D870E8-5ACB-407C-9724-B=46=466=
29=46=462DD7%40getmailspring.com%2=460%3=46redirect%3Dhttps%253A%252=46%2=
52=46www.dropbox.com%252=46s%252=46iwff1b3dl36forr%252=46mylog=5FMicrosof=
t=5F22916.log%253=46dl%253D0%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5u=
ZS5qcA%253D%253D&amp;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%=
3D=22 title=3D=22https://link.getmailspring.com/link/827528D4-=46338-402D=
-B793-8695C80712C1=40getmailspring.com/1=3Fredirect=3Dhttps%3A%2=46%2=46l=
ink.getmailspring.com%2=46link%2=4659D870E8-5ACB-407C-9724-B=46=46629=46=46=
2DD7%40getmailspring.com%2=460%3=46redirect%3Dhttps%253A%252=46%252=46www=
.dropbox.com%252=46s%252=46iwff1b3dl36forr%252=46mylog=5FMicrosoft=5F2291=
6.log%253=46dl%253D0%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%2=
53D%253D&amp;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D=22>ht=
tps://www.dropbox.com/s/iwff1b3dl36forr/mylog=5FMicrosoft=5F22916.log=3Fd=
l=3D0</a></div></div><div>Thank you very much for your quick assistance -=
 I now see the driver attempting to cast via an interval on date fields.<=
/div><br><div>Best,</div><div>Scott</div><br><br><br><div class=3D=22gmai=
l=5Fquote=5Fattribution=22>On Aug 13 2019, at 8:46 am, Scott Goley <a hre=
f=3D=22https://link.getmailspring.com/link/827528D4-=46338-402D-B793-8695=
C80712C1=40getmailspring.com/2=3Fredirect=3Dmailto%3Ascottmgoley%40gmail.=
com&amp;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D=22 title=3D=
=22https://link.getmailspring.com/link/827528D4-=46338-402D-B793-8695C807=
12C1=40getmailspring.com/2=3Fredirect=3Dmailto%3Ascottmgoley%40gmail.com&=
amp;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D=22>&lt;scottmg=
oley=40gmail.com&gt;</a> wrote:</div><blockquote><div><div>Hi Hiroshi,</d=
iv><br><div>Thank you for your response. I am not currently observing any=
 change between this version and the previous version used. Please see th=
e attached.</div><br><div>Best,</div><div>Scott</div><br><div class=3D=22=
gmail=5Fquote=5Fattribution=22>On Aug 12 2019, at 6:44 am, Inoue, Hiroshi=
 <a href=3D=22https://link.getmailspring.com/link/827528D4-=46338-402D-B7=
93-8695C80712C1=40getmailspring.com/3=3Fredirect=3Dmailto%3Ah-inoue%40dre=
am.email.ne.jp&amp;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D=
=22 title=3D=22https://link.getmailspring.com/link/827528D4-=46338-402D-B=
793-8695C80712C1=40getmailspring.com/3=3Fredirect=3Dmailto%3Ah-inoue%40dr=
eam.email.ne.jp&amp;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3=
D=22>&lt;h-inoue=40dream.email.ne.jp&gt;</a> wrote:</div><blockquote><div=
><div>Hi Scott,</div><br><div>Could you please try the test drivers 11.00=
.0200 on Windows at</div><div><a href=3D=22https://link.getmailspring.com=
/link/827528D4-=46338-402D-B793-8695C80712C1=40getmailspring.com/4=3Fredi=
rect=3Dhttps%3A%2=46%2=46link.getmailspring.com%2=46link%2=4659D870E8-5AC=
B-407C-9724-B=46=46629=46=462DD7%40getmailspring.com%2=461%3=46redirect%3=
Dhttps%253A%252=46%252=46winpg.jp%252=46=7Einoue%252=46psqlodbc%252=46ind=
ex.html%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%253D%253D&amp;=
recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D=22 title=3D=22http=
s://link.getmailspring.com/link/827528D4-=46338-402D-B793-8695C80712C1=40=
getmailspring.com/4=3Fredirect=3Dhttps%3A%2=46%2=46link.getmailspring.com=
%2=46link%2=4659D870E8-5ACB-407C-9724-B=46=46629=46=462DD7%40getmailsprin=
g.com%2=461%3=46redirect%3Dhttps%253A%252=46%252=46winpg.jp%252=46=7Einou=
e%252=46psqlodbc%252=46index.html%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46=
pbC5uZS5qcA%253D%253D&amp;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qc=
A%3D%3D=22>https://winpg.jp/=7Einoue/psqlodbc/index.html</a></div><div>=3F=
</div><br><div>regards,</div><div>Hiroshi Inoue</div><br><div class=3D=22=
moz-cite-prefix=22><div>On 2019/08/11 7:51, Scott Goley wrote:</div></div=
><blockquote><br><div>Hiroshi,</div><br><div>Thank you for your response.=
 I will definitely look into that.</div><br><div>Is there any resource wh=
ich specifies what functions and flags are supported via the current psql=
ODBC driver=3F&nbsp; That would be extremely helpful to me if you were aw=
are of one.</div><br><div>Best,</div><div>Scott G</div><br><br><br><div c=
lass=3D=22gmail=5Fquote=5Fattribution=22>On Aug 9 2019, at 8:56 pm, Inoue=
, Hiroshi <a href=3D=22https://link.getmailspring.com/link/827528D4-=4633=
8-402D-B793-8695C80712C1=40getmailspring.com/5=3Fredirect=3Dhttps%3A%2=46=
%2=46link.getmailspring.com%2=46link%2=4659D870E8-5ACB-407C-9724-B=46=466=
29=46=462DD7%40getmailspring.com%2=462%3=46redirect%3Dmailto%253Ah-inoue%=
2540dream.email.ne.jp%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%=
253D%253D&amp;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D=22 t=
itle=3D=22https://link.getmailspring.com/link/827528D4-=46338-402D-B793-8=
695C80712C1=40getmailspring.com/5=3Fredirect=3Dhttps%3A%2=46%2=46link.get=
mailspring.com%2=46link%2=4659D870E8-5ACB-407C-9724-B=46=46629=46=462DD7%=
40getmailspring.com%2=462%3=46redirect%3Dmailto%253Ah-inoue%2540dream.ema=
il.ne.jp%26recipient%3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%253D%253D&amp=
;recipient=3DaC1pbm91ZUBkcmVhbS5lbW=46pbC5uZS5qcA%3D%3D=22>&lt;h-inoue=40=
dream.email.ne.jp&gt;</a> wrote:</div><blockquote><div><div>Hi Scott,</di=
v><br><div>Unfortunately neither TIMESTAMPADD() nor TIMESTAMPDI=46=46() i=
s supported now.</div><div>Could you please try test drivers which would =
support them=3F</div><br><div>regards,</div><div>Hiroshi Inoue</div><br><=
div class=3D=22moz-cite-prefix=22><div>On 2019/08/09 0:00, Scott Goley wr=
ote:</div></div><blockquote><br><div>Hi,</div><br><div>Platform / Version=
 info:</div><br><div>Postgres 11.4</div><div>psqlODBC=5Fx64 v 11.01.0000<=
/div><br><div>I'm a developer working with PowerQuery / ODBC and I'm runn=
ing into the following issue.</div><br><br><div>I'm developing a custom c=
onnector which is utilizing this driver. I've attached the logs as reques=
ted when making a bug report. It looks like the SQL=5FTSI=5FDAY operator =
is being =22interpreted=22 by the driver as a column reference rather tha=
n making the necessary conversion to the correct datetimeadd =22interval=22=
 .</div><br><div>I'm attaching the connector file - ODBCPostgresDirect si=
mply because it contains all the flags that I'm setting for SQLCapabiliti=
es, ODBC function overrides etc.</div><br><div>Any input on this would be=
 helpful.</div><br><div>Best,</div><div><div><div><div><div>Scott</div></=
div></div></div></div></blockquote></div></blockquote></blockquote></div>=
</blockquote></div></blockquote></blockquote></div></blockquote></blockqu=
ote><div><br><div><table style=3D=22border-top: 1px solid =23D3D4DE;=22><=
tbody><tr><td style=3D=22width: 55px; padding-top: 18px;=22><a href=3D=22=
http://www.avg.com/email-signature=3Futm=5Fmedium=3Demail&amp;utm=5Fsourc=
e=3Dlink&amp;utm=5Fcampaign=3Dsig-email&amp;utm=5Fcontent=3Demailclient=22=
 target=3D=22=5Fblank=22><img src=3D=22https://ipmcdn.avast.com/images/ic=
ons/icon-envelope-tick-green-avg-v1.png=22 alt=3D=22=22 width=3D=2246=22 =
height=3D=2229=22 style=3D=22width: 46px; height: 29px;=22></a></td> <td =
style=3D=22width: 470px; padding-top: 17px; color: =2341424e; font-size: =
13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;=22>=E3=
=82=A6=E3=82=A4=E3=83=AB=E3=82=B9 =E3=83=95=E3=83=AA=E3=83=BC=EF=BD=A1 <a=
 href=3D=22http://www.avg.com/email-signature=3Futm=5Fmedium=3Demail&amp;=
utm=5Fsource=3Dlink&amp;utm=5Fcampaign=3Dsig-email&amp;utm=5Fcontent=3Dem=
ailclient=22 target=3D=22=5Fblank=22 style=3D=22color: =234453ea;=22>www.=
avg.com</a> </td> </tr></tbody></table></div></div></div></blockquote>
--5d546aa8_0_5b4b80c4--