pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rafi Einstein <rafie@mainsoft.com>
To: pgsql-odbc@postgresql.org
Subject: PostgreSQL ODBC modification request
Date: Mon, 8 Sep 2003 19:36:33 +0300
Message-ID: <001501c37627$5d90aaf0$1c0111ac@il.mainsoft.com> (raw)

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
 

Message-ID: <001501c37627$5d90aaf0$1c0111ac@il.mainsoft.com>
Permalink:  ../001501c37627$5d90aaf0$1c0111ac@il.mainsoft.com/
Also on:    postgresql.org/message-id/001501c37627$5d90aaf0$1c0111ac@il.mainsoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: rafie@mainsoft.com
  Subject: Re: PostgreSQL ODBC modification request
  In-Reply-To: <001501c37627$5d90aaf0$1c0111ac@il.mainsoft.com>
  References: <001501c37627$5d90aaf0$1c0111ac@il.mainsoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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