Re: Re: MSACCESS & Apostrophe in Column Name - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Re: MSACCESS & Apostrophe in Column Name
Date
Msg-id 3B2D63EC.9B868B13@tpf.co.jp
Whole thread Raw
In response to Re: MSACCESS & Apostrophe in Column Name  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-odbc
Bob Woodside wrote:
>
> Hiroshi Inoue wrote:
> >
> > Bob Woodside wrote:
> > >
> > >         If we issue a query with an odd number of these references, the
> > > back end receives something like this:
> > >
> > > > 'SELECT "ID","Month called or rec'd form","FullName"  FROM
> > "GHI-practice2"
> > > >   WHERE "ID" = ? OR "ID" = ? OR "ID" = ? OR "ID" = ? OR "ID" = ? OR "ID"
> > = ?
> > > >   OR "ID" = ? OR "ID" = ? OR "ID" = ? OR "ID" = ?'
> > >
> >
> > Psqlodbc driver has been unaware of double-quotes(") .
> > Probably it's the cause.
> > Recently I changed the driver to check double-quotes.
> > Could you try the CVS snapshot ?
>
>         That's definitely the cause, and thanks for your suggestion. However,
> it was more convenient for my immediate needs just to take a quick look
> at the source from the 7.1.2 tarball and hack in a little double-quote
> patch to the in_quote stuff.
>
>         If I have a little time during the coming week, I'll set up a CVS tree
> and take a look at your latest version. I'm sure it's better than my
> hasty patch - e.g., I know that mine won't catch anything fancy like an
> escaped quote within a quote (you *did* check for that, right?)

Oh I'm about to commit a change about *escape*.
There's a fault in my last change.
Please wait for a while.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Bob Woodside
Date:
Subject: Re: Re: MSACCESS & Apostrophe in Column Name
Next
From: Hiroshi Inoue
Date:
Subject: Re: Error handling in ODBC