Re: more ODBC driver

From: "Geoff Healey" <geoff_healey(at)bigpond(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: more ODBC driver
Date: 2000-07-16 12:10:44
Message-ID: 000801bfef1e$dec3e260$0146a8c0@argentpn.telstra.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Dear Sir / madam

I wish to have my name removed from the mailing list.

Regards

Geoff Healey
----- Original Message -----
From: Cedar Cox <cedarc(at)visionforisrael(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Sent: Thursday, July 13, 2000 5:06 PM
Subject: Re: [INTERFACES] more ODBC driver

>
> On Wed, 12 Jul 2000, Tom Lane wrote:
> > It looks like the & operators are being translated to the ODBC notation
> > {fn concat(a,b)}, which isn't valid SQL. The ODBC driver is supposed
> > to translate that to the Postgres equivalent, namely textcat(a,b).
> > Unfortunately our ODBC driver isn't bright enough to do that for nested
> > function calls, and as you can see in the SQL log only the outermost
> > instance is getting fixed properly.
>
> I see says the blind man... makes sense..
>
> > Probably the best short-term workaround is to write the query using
> > the Postgres function to begin with:
> >
> > SELECT ..., textcat(T1.Name,textcat(' ',textcat(T2.Name,textcat(' ', ...
>
> I saw this need coming but wanted to avoid it. I think what I'll do is
> place a tag somewhere USEODBC=? and use this to decide which SQL to use,
> ODBC or Jet. Our unfortunate situation is that the guy developing the
> Access end is unable to run PG anywhere so his datasource has to be a
> .mdb file (any suggestions?).
>
> > I'm not sure if we have a TODO item to fix the ODBC driver's function
> > translation code, but we should...
> >
> > regards, tom lane
>
> What's the time table? Anyone expecting to work on this any time
> soon? I'd help but I don't know C very well and I have no development
> tools in Win95. :( -or is that :)
>
> ..
> Matthew <matt(at)ctlno(dot)com>:
> > It's not easy to find, but there is an ODBC install
> > that you can download from the MS website.
>
> Thanks.. That's what I wanted to know.. I've been able to find things
> before in MS's archives even when I didn't know what I was looking for.. I
> just wanted to know if what I'm looking for exists before looking :)
>
>
> Thanks for the quick reply
> -Cedar
>
>
>
>

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Matt Fair 2000-07-16 19:36:37 Re: JDBC Query bug
Previous Message Peter Mount 2000-07-16 08:36:16 Re: JDBC Query bug