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 mu

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 corre

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.. : nous@pcouderc:~/projets//build$

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 fo

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

Re: Postgresql ODBC driver not found

2021-09-23 Thread Gregory Seidman
   driver, sizeof(driver), > > > > &driver_ret, > > > >    attr, sizeof(attr), > > > > &attr_ret))) { > > > >     direction = SQL_FETCH_NEXT; > > > >     printf("%s - %s\n&qu

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-22 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; >   SQLRETUR

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, &env);   SQLSetEnvAttr(env, SQL_

PostgreSQL & ODBC & OpenOffice

2006-07-25 Thread gustavo halperin
host:5432/mydb", and nothing for the "Driver setting", and the "user name" is "gusti" and when pick the Tab "Tables" I request for a Password and then I receive the error. So, What is the problem? My file odbc user files are: ~/.odbcinst.ini [PostgreS

Re: Postgresql ODBC

2002-02-25 Thread Tom Cook
"Eric G. Miller" wrote: > > On Fri, Feb 22, 2002 at 01:49:46PM +1000, Christoph Donges wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > I have installed potato and postgresql and odbc-postgresql and I have > > created a database and table using webmin where I have also given a

Re: Postgresql ODBC

2002-02-21 Thread Eric G. Miller
On Fri, Feb 22, 2002 at 01:49:46PM +1000, Christoph Donges wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I have installed potato and postgresql and odbc-postgresql and I have > created a database and table using webmin where I have also given a user > access rights and given a machi

Postgresql ODBC

2002-02-21 Thread Christoph Donges
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have installed potato and postgresql and odbc-postgresql and I have created a database and table using webmin where I have also given a user access rights and given a machine access rights. But when I try to connect from a windows machine I get the

Re: PostgreSQL odbc

2001-05-11 Thread Andre Berger
* Johann Spies <[EMAIL PROTECTED]>, 2001-05-11 00:21 +0200: > Jorge Santos <[EMAIL PROTECTED]> writes: > > > Hello, I'm trying to use odbc-PostgreSQL with StarOffice but when > > trying to create a new database with ODBC as a source and trying to > > select the tables tab I get the following error

Re: PostgreSQL odbc

2001-05-10 Thread Johann Spies
Jorge Santos <[EMAIL PROTECTED]> writes: > Hello, I'm trying to use odbc-PostgreSQL with StarOffice but when > trying to create a new database with ODBC as a source and trying to > select the tables tab I get the following error: I have read somewhere that one can do what you want using unixodbc.

Re: PostgreSQL odbc

2001-05-10 Thread Joachim Trinkwitz
Jorge Santos <[EMAIL PROTECTED]> writes: > Hello, I'm trying to use odbc-PostgreSQL with StarOffice but when > trying to create a new database with ODBC as a source and trying to > select the tables tab I get the following error: Have you read the ODBC-related docs in the postgresql-doc package -

PostgreSQL odbc

2001-05-08 Thread Jorge Santos
Hello, I'm trying to use odbc-PostgreSQL with StarOffice but when trying to create a new database with ODBC as a source and trying to select the tables tab I get the following error: Warning! The data registry was not found Or something like that (my version of SO is in spanish). Does anyone h