Re: versions of oDBC driver - Mailing list pgsql-odbc

From Merlin Moncure
Subject Re: versions of oDBC driver
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3417DD663@Herge.rcsinc.local
Whole thread Raw
In response to versions of oDBC driver  (Zlatko Matić <zlatko.matic1@sb.t-com.hr>)
List pgsql-odbc

Can you check server log for the exact error?  If you are running windows server, this is in the Application portion of the event log.  Maybe your pg_hba.conf is improperly set up.  If there is no error there, try connecting via shell using similar login parameters and see what happens.

 

Merlin

 


From: "Zlatko Matić" [mailto:zlatko.matic1@sb.t-com.hr]
Sent: Thursday, October 20, 2005 3:34 PM
To: Merlin Moncure
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] versions of oDBC driver
Importance: High

 

Hello.

The error is error 3151: "ODBC--connection to '{PostgreSQL}Localhost' failed".

I have a form with text boxes for entering Database name, IP adress, username, password etc. When a user push the confirmation button, a function "ConnectionToServer" is executed to: a) create connection string, b) to check whether connection string works, c) to call functions for relinking linked tables and adjusting connection string in pass-through queries. The code is following:

pgsql-odbc by date:

Previous
From: Zlatko Matić
Date:
Subject: Re: versions of oDBC driver
Next
From: "Greg Campbell"
Date:
Subject: Re: versions of oDBC driver