Re: Import: about ODBC data source - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Import: about ODBC data source
Date
Msg-id 937d27e10901140457k6c9a55a6j4022315152b7c834@mail.gmail.com
Whole thread Raw
In response to Import: about ODBC data source  (Quan Zongliang <quanzongliang@gmail.com>)
Responses Re: Import: about ODBC data source  (Guillaume Lelarge <guillaume@lelarge.info>)
Re: Import: about ODBC data source  (Magnus Hagander <magnus@hagander.net>)
Re: Import: about ODBC data source  (Quan Zongliang <quanzongliang@gmail.com>)
List pgadmin-hackers
On Wed, Jan 14, 2009 at 12:14 PM, Quan Zongliang
<quanzongliang@gmail.com> wrote:
> Hi All,
>
> The wxWidgets framework has some classes relative to ODBC:
> wxDb/wxDbTable and so on.
> Them is controlled by identifier wxUSE_ODBC.
> Default is 0, that is, don't compiling with wxWidgets.
>
> My idea is only support this function (import from ODBC) under MS-Windows
> using Microsoft API. Although there is iODBC (http://www.iodbc.org)
> under Unix implemented the ODBC API.

iODBC is used on Mac, but in my experience, unixODBC is more popular
on Linux. I don't know what is used on Solaris or the BSDs. I'm not
keen on the idea of only offering functionality on one platform.

Without using wxUSE_ODBC, I don't see that you'll be able to do this
nicely in a cross platform way. I suppose you could allow the user to
select the ODBC driver libraries (eg. psqlodbc.so) directly, but that
will mean that DSNs can't be used.

Anyone else got any thoughts?

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

pgadmin-hackers by date:

Previous
From: Quan Zongliang
Date:
Subject: Import: about ODBC data source
Next
From: Guillaume Lelarge
Date:
Subject: Re: Import: about ODBC data source