pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
postgresql-odbc vs. unixODBC 2+ messages / 2 participants [nested] [flat]
* postgresql-odbc vs. unixODBC @ 2005-09-27 14:27 Rainer Hochreiter <rainer@hochreiter.at> 0 siblings, 1 reply; 2+ messages in thread From: Rainer Hochreiter @ 2005-09-27 14:27 UTC (permalink / raw) To: pgsql-odbc hi, does anybody know what the differences are between postgresql-odbc and unixODBC? because connection via postgresql-odbc work and via unixODBC fails! here some infos: my /etc/odbcinst.ini: --------------------- [PostgreSQL] Description = ODBC for PostgreSQL (postgresql-odbc) Driver = /usr/lib/psqlodbc.so FileUsage = 1 [PostgreSQL2] Description = ODBC for PostgreSQL (unixODBC) Driver = /usr/lib/libodbcpsql.so FileUsage = 1 my /etc/odbc.ini: ----------------- [DB1] Description = PostgreSQL Driver = PostgreSQL Database = DB1 ServerName = localhost UserName = icp Port = 5432 [DB2] Description = PostgreSQL Driver = PostgreSQL2 Database = DB2 ServerName = localhost UserName = icp Port = 5432 my /var/lib/pgsql/data/pg_hba.conf: ----------------------------------- local DB1 uid md5 local DB2 uid md5 isql DB1 uid pwd => work fine isql DB2 uid pwd => results in "[ISQL]ERROR: Could not SQLConnect" any hints welcome! cheers, rainer ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: postgresql-odbc vs. unixODBC @ 2005-10-01 07:45 Hajo Kirchhoff <mailinglists@hajo-kirchhoff.de> parent: Rainer Hochreiter <rainer@hochreiter.at> 0 siblings, 0 replies; 2+ messages in thread From: Hajo Kirchhoff @ 2005-10-01 07:45 UTC (permalink / raw) To: pgsql-odbc Hi, > > does anybody know what the differences are between postgresql-odbc > and unixODBC? because connection via postgresql-odbc work and > via unixODBC fails! you should check the driver versions. I think I remember seeing a post that said that the postgreSQL unixODBC is an outdated version of the postgreSQL ODBC driver that was included by the unixODBC team. At any rate I'd always use the latest driver available directly from the ODBC team here. Hajo > > here some infos: > > my /etc/odbcinst.ini: > --------------------- > [PostgreSQL] > Description = ODBC for PostgreSQL (postgresql-odbc) > Driver = /usr/lib/psqlodbc.so > FileUsage = 1 > > [PostgreSQL2] > Description = ODBC for PostgreSQL (unixODBC) > Driver = /usr/lib/libodbcpsql.so > FileUsage = 1 > > my /etc/odbc.ini: > ----------------- > [DB1] > Description = PostgreSQL > Driver = PostgreSQL > Database = DB1 > ServerName = localhost > UserName = icp > Port = 5432 > > [DB2] > Description = PostgreSQL > Driver = PostgreSQL2 > Database = DB2 > ServerName = localhost > UserName = icp > Port = 5432 > > my /var/lib/pgsql/data/pg_hba.conf: > ----------------------------------- > local DB1 uid md5 > local DB2 uid md5 > > isql DB1 uid pwd => work fine > isql DB2 uid pwd => results in "[ISQL]ERROR: Could not SQLConnect" > > any hints welcome! > > cheers, rainer > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > -- -------------------------------------------- Lit Window Library - Speed up GUI coding 10x http://www.litwindow.com/library?src=ml wxVisualSetup - integrate wxWidgets into Visual Studio .NET http://www.litwindow.com/Products/products.html?src=ml BugLister - Defect Tracker http://www.litwindow.com/buglister?src=ml Tips & Tricks for wxWidgets & MS Visual Studio http://www.litwindow.com/Knowhow/knowhow.html?src=ml ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-10-01 07:45 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2005-09-27 14:27 postgresql-odbc vs. unixODBC Rainer Hochreiter <rainer@hochreiter.at> 2005-10-01 07:45 ` Hajo Kirchhoff <mailinglists@hajo-kirchhoff.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox