Re: Postgresql ODBC driver not found

2021-09-26 Thread Henning Follmann
On Sun, Sep 26, 2021 at 12:10:39AM +0200, Pierre Couderc wrote: > > On 9/25/21 3:46 PM, Henning Follmann wrote: > > > > have you tried to use the odbc lib from unixodbc instead of > > libiodbc? > > > > I think you are right on many other points... > > But particularly on this one ! > > I did

Re: Postgresql ODBC driver not found

2021-09-25 Thread Pierre Couderc
On 9/25/21 3:46 PM, Henning Follmann wrote: have you tried to use the odbc lib from unixodbc instead of libiodbc? I think you are right on many other points... But particularly on this one ! I did remove libodbc2-dev and install unixodbc-dev and now it is OK...!! Wow ! Thank you very

Re: Postgresql ODBC driver not found

2021-09-25 Thread Henning Follmann
On Sat, Sep 25, 2021 at 09:16:33AM +0200, Pierre Couderc wrote: > > On 9/24/21 5:31 PM, Henning Follmann wrote: > > > > and I see you do not do any error checking. > > This would be a first step to find out where it fails. > > > > I added some code... > > > > You hare fully right, I have

Re: Postgresql ODBC driver not found

2021-09-25 Thread Pierre Couderc
On 9/24/21 5:31 PM, Henning Follmann wrote: and I see you do not do any error checking. This would be a first step to find out where it fails. I added some code... You hare fully right, I have corrected, but I have the same result and no more idea.. :

Re: Postgresql ODBC driver not found

2021-09-24 Thread Henning Follmann
On Thu, Sep 23, 2021 at 11:55:00PM +0200, Pierre Couderc wrote: > Thenk you, Henning, thank you Gregory . > > On 9/23/21 5:49 PM, Gregory Seidman wrote: > > On Thu, Sep 23, 2021 at 08:18:45AM -0400, Henning Follmann wrote: > > > > > I don't see where you ask for the PostgreSQL ODBC connection in

Re: Postgresql ODBC driver not found

2021-09-23 Thread Pierre Couderc
Thenk you, Henning, thank you Gregory . On 9/23/21 5:49 PM, Gregory Seidman wrote: On Thu, Sep 23, 2021 at 08:18:45AM -0400, Henning Follmann wrote: I don't see where you ask for the PostgreSQL ODBC connection in particular. Maybe I'm the one missing something? You are right, I am not trying

Re: Postgresql ODBC driver not found

2021-09-23 Thread Gregory Seidman
On Thu, Sep 23, 2021 at 08:18:45AM -0400, Henning Follmann wrote: > On Thu, Sep 23, 2021 at 08:44:42AM +0200, Pierre Couderc wrote: > > Thank you very much! > > > > See below : > > > > On 9/22/21 3:37 PM, Henning Follmann wrote: > > > On Wed, Sep 22, 2021 at 11:07:28AM +0200, Pierre Couderc

Re: Postgresql ODBC driver not found

2021-09-23 Thread Henning Follmann
On Thu, Sep 23, 2021 at 08:44:42AM +0200, Pierre Couderc wrote: > Thank you very much! > > See below : > > On 9/22/21 3:37 PM, Henning Follmann wrote: > > On Wed, Sep 22, 2021 at 11:07:28AM +0200, Pierre Couderc wrote: > > > It is here I see it/them with: > > > > > > odbcinst -q -d > > > > > >

Re: Postgresql ODBC driver not found

2021-09-23 Thread Pierre Couderc
Thank you very much! See below : On 9/22/21 3:37 PM, Henning Follmann wrote: On Wed, Sep 22, 2021 at 11:07:28AM +0200, Pierre Couderc wrote: It is here I see it/them with: odbcinst -q -d but not with :   SQLHENV env;   SQLCHAR driver[256];   SQLCHAR attr[256];   SQLSMALLINT driver_ret;

Re: Postgresql ODBC driver not found

2021-09-22 Thread Henning Follmann
On Wed, Sep 22, 2021 at 11:07:28AM +0200, Pierre Couderc wrote: > It is here I see it/them with: > > odbcinst -q -d > > but not with : > >   SQLHENV env; >   SQLCHAR driver[256]; >   SQLCHAR attr[256]; >   SQLSMALLINT driver_ret; >   SQLSMALLINT attr_ret; >   SQLUSMALLINT direction; >  

Postgresql ODBC driver not found

2021-09-22 Thread Pierre Couderc
It is here I see it/them with: odbcinst -q -d but not with :   SQLHENV env;   SQLCHAR driver[256];   SQLCHAR attr[256];   SQLSMALLINT driver_ret;   SQLSMALLINT attr_ret;   SQLUSMALLINT direction;   SQLRETURN ret;   SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, );   SQLSetEnvAttr(env,