Skip site navigation (1) Skip section navigation (2)

Re: versions of oDBC driver

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Zlatko Matic" <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: versions of oDBC driver
Date: 2005-10-21 12:59:04
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB3417DD663@Herge.rcsinc.local (view raw, whole thread or download thread mbox)
Lists: 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.

From: "Zlatko Matić" [mailto:zlatko(dot)matic1(at)sb(dot)t-com(dot)hr] 
Sent: Thursday, October 20, 2005 3:34 PM
To: Merlin Moncure
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ODBC] versions of oDBC driver
Importance: High
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

Next:From: Greg CampbellDate: 2005-10-21 15:12:12
Subject: Re: versions of oDBC driver
Previous:From: Dave PageDate: 2005-10-21 08:06:43
Subject: Re: MAC OSX copy_and_convert_field bug for SQL_W_CHAR

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group