Re: [PATCH] Return the correct column names in SQLTables - Mailing list pgsql-odbc

From David Hedberg
Subject Re: [PATCH] Return the correct column names in SQLTables
Date
Msg-id CAB5ZCnQMaXJ_fSXxC62OJMNBZVgX73hB1jY+pz3Hafju6MzHiw@mail.gmail.com
Whole thread Raw
In response to [PATCH] Return the correct column names in SQLTables  (David Hedberg <david.hedberg@gmail.com>)
List pgsql-odbc
Any comments on this one?

On Sat, Aug 9, 2014 at 6:29 PM, David Hedberg <david.hedberg@gmail.com> wrote:
> As noted in bug #1007689, the column names returned from SQLTables
> differs between ODBCv2 and ODBCv3. This patch was needed to be able to
> list the tables when trying to import data in Excel 2010/PowerPivot.
>
> A somewhat unrelated question:
> There is one more "fix" needed to get the import of data in PowerPivot
> working properly, and that is because PowerPivot insists on creating
> the query with mssql-style quotes. (select [schema].[table].* instead
> of select "schema"."table".* ..).
>
> I have not managed to find any way of making it issue the query with
> the correct form of quoting. Unless anyone reading this happens to
> know of a way, would you accept a patch that adds an option to the
> driver that makes it translate []-style quoting to ""-style quoting?
>
> --
> David Hedberg


pgsql-odbc by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Enable debug logging
Next
From: chava
Date:
Subject: Re: 126 Error Connecting With psqlODBC 32 bit