1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-14 08:21:07 +03:00

Don't refer to odbcinst.ini by absolute path. SQLGetPrivateProfileString

handles this.

Don't install our own odbcinst.ini.  That's the driver manager's business.
This commit is contained in:
Peter Eisentraut
2001-09-23 13:32:24 +00:00
parent bb2bf2d401
commit 091a7659d4
3 changed files with 14 additions and 17 deletions

View File

@ -22,20 +22,14 @@
#define UNKNOWNS_AS_DONTKNOW 1
#define UNKNOWNS_AS_LONGEST 2
/* INI File Stuff */
/* ODBC initialization files */
#ifndef WIN32
#define ODBC_INI ".odbc.ini"
#ifdef ODBCINSTDIR
#define ODBCINST_INI ODBCINSTDIR "/odbcinst.ini"
#define ODBCINST_INI "odbcinst.ini"
#else
#define ODBCINST_INI "/etc/odbcinst.ini"
#define ODBC_INI "ODBC.INI"
#define ODBCINST_INI "ODBCINST.INI"
#endif
#else /* WIN32 */
#define ODBC_INI "ODBC.INI" /* ODBC initialization
* file */
#define ODBCINST_INI "ODBCINST.INI" /* ODBC Installation
* file */
#endif /* WIN32 */
#define INI_DSN DBMS_NAME /* Name of default