From 82887b8e8d71a7c4bc81349fa46392b1ae1d3eb2 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 10 Apr 2006 09:59:05 +0000 Subject: [PATCH] Fixup some driver naming inconsistencies/non-user-friendliness --- dlg_specific.h | 8 -------- psqlodbc.h | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/dlg_specific.h b/dlg_specific.h index 261621c..7cdf236 100644 --- a/dlg_specific.h +++ b/dlg_specific.h @@ -33,15 +33,7 @@ #define ODBC_DATASOURCES "ODBC Data Sources" -#if (ODBCVER >= 0x0300) -#ifdef UNICODE_SUPPORT -#define INI_DSN "PostgreSQL30W" -#else -#define INI_DSN "PostgreSQL30" -#endif /* UNICODE_SUPPORT */ -#else #define INI_DSN DBMS_NAME -#endif /* ODBCVER */ #define INI_KDESC "Description" /* Data source * description */ diff --git a/psqlodbc.h b/psqlodbc.h index ff34209..93cabc2 100644 --- a/psqlodbc.h +++ b/psqlodbc.h @@ -5,7 +5,7 @@ * * Comments: See "notice.txt" for copyright and license information. * - * $Id: psqlodbc.h,v 1.96 2006/04/10 09:53:16 dpage Exp $ + * $Id: psqlodbc.h,v 1.97 2006/04/10 09:59:05 dpage Exp $ * */ @@ -132,9 +132,9 @@ typedef double SDOUBLE; #endif /* ODBCVER 0x0351 */ #ifndef DBMS_NAME #ifdef UNICODE_SUPPORT -#define DBMS_NAME "PostgreSQL35W" +#define DBMS_NAME "PostgreSQL Unicode" #else -#define DBMS_NAME "PostgreSQL" +#define DBMS_NAME "PostgreSQL ANSI" #endif /* UNICODE_SUPPORT */ #endif /* DBMS_NAME */ #else -- 2.39.5