Re: Compiling ODBC Applications

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>, Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>, Josh Berkus <josh(at)agliodbs(dot)com>, John Pierce <pierce(at)hogranch(dot)com>
Subject: Re: Compiling ODBC Applications
Date: 2014-05-15 13:58:24
Message-ID: 5374C800.3000405@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 05/14/2014 10:25 PM, Dev Kumkar wrote:
> Hello,
>
> Can you please provide help on following questions related to compiling
> ODBC applications on Linux RHEL 5:
>
> 1. Which ODBC driver should be downloaded for Linux 64 bit (and also Win
> 64 bit) for postgres (9.3.4)?
>
> 2. Which ODBC developer package should be present when building ODBC
> applications against postgres ODBC driver? (Shouldn't everything in ODBC
> header files match with what is in postgres driver .so files?)
>
> 3. Is there a postgres specific ODBC developer package (like, say,
> ‘unixODBC-devel’ rpm you get on Linux)?
>
> 4. Is '(int)-1' being returned instead of '(SQLLEN)-1' from SQLGetData
> for NULL values? If yes then is this by design? On linux 64 bit,
> observed SQLLEN is not int.
>
> Regards...

A lot of this is answered here:

http://psqlodbc.projects.pgfoundry.org/

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Adrian Klaver 2014-05-15 14:10:03 Re: psqlODBC text length with no records
Previous Message Barry Bell 2014-05-15 12:30:51 Re: psqlODBC text length with no records