PostgreSQL ODBC modification request

From: "Rafi Einstein" <rafie(at)mainsoft(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: PostgreSQL ODBC modification request
Date: 2003-09-08 16:36:33
Message-ID: 001501c37627$5d90aaf0$1c0111ac@il.mainsoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello,

I am using PostgreSQL ODBC driver library on Linux, with unixODBC
manager version 2.2.5.
Here are some modifications to a header file that allows the driver to
work properly with unixODBC:

In dlg_specific.h:

/* ODBC initialization files */
#ifndef WIN32

#ifdef WITH_UNIXODBC
#define ODBC_INI "ODBC.INI"
#define ODBCINST_INI "ODBCINST.INI"
#else
#define ODBC_INI
".odbc.ini"
#define ODBCINST_INI
"odbcinst.ini"
#endif /* WITH_UNIXODBC */

#else /* WIN32 */
#define ODBC_INI
"ODBC.INI"
#define ODBCINST_INI
"ODBCINST.INI"
#endif /* WIN32 */

[ The "odbc.ini" name is hardcoded in unixODBC.]

Best regards,
Rafi Einstein

Browse pgsql-odbc by date

  From Date Subject
Next Message Andrew Ayers 2003-09-08 18:12:43 Re: ODBC in VB6
Previous Message DanPerlman 2003-09-06 15:00:44 ODBC in VB6