The attached patch does the following:
1) Tidies up the Datasource Dialogue now the version options are gone. 2) Tidies a comment in info.c. 3) Increments all version numbers to 07.01.0003 to take account of recent revisions. Regards, Dave Page
This commit is contained in:
parent
8f17e53f0e
commit
e937156690
@ -201,9 +201,8 @@ SQLGetInfo(
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* The ODBC spec wants ##.##.#### ...whatever... so prepend
|
* The ODBC spec wants ##.##.#### ...whatever... so prepend
|
||||||
* the driver
|
* the driver version number to the dbms version string
|
||||||
*/
|
*/
|
||||||
/* version number to the dbms version string */
|
|
||||||
sprintf(tmp, "%s %s", POSTGRESDRIVERVERSION, conn->pg_version);
|
sprintf(tmp, "%s %s", POSTGRESDRIVERVERSION, conn->pg_version);
|
||||||
p = tmp;
|
p = tmp;
|
||||||
break;
|
break;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Comments: See "notice.txt" for copyright and license information.
|
* Comments: See "notice.txt" for copyright and license information.
|
||||||
*
|
*
|
||||||
* $Id: psqlodbc.h,v 1.32 2001/02/10 07:01:19 momjian Exp $
|
* $Id: psqlodbc.h,v 1.33 2001/02/11 02:01:22 momjian Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PSQLODBC_H__
|
#ifndef __PSQLODBC_H__
|
||||||
@ -42,7 +42,7 @@ typedef UInt4 Oid;
|
|||||||
#define DRIVERNAME "PostgreSQL ODBC"
|
#define DRIVERNAME "PostgreSQL ODBC"
|
||||||
#define DBMS_NAME "PostgreSQL"
|
#define DBMS_NAME "PostgreSQL"
|
||||||
|
|
||||||
#define POSTGRESDRIVERVERSION "07.01.0002"
|
#define POSTGRESDRIVERVERSION "07.01.0003"
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#define DRIVER_FILE_NAME "PSQLODBC.DLL"
|
#define DRIVER_FILE_NAME "PSQLODBC.DLL"
|
||||||
|
@ -133,7 +133,7 @@ BEGIN
|
|||||||
PUSHBUTTON "Defaults",IDDEFAULTS,185,205,50,15
|
PUSHBUTTON "Defaults",IDDEFAULTS,185,205,50,15
|
||||||
END
|
END
|
||||||
|
|
||||||
DLG_OPTIONS_DS DIALOG DISCARDABLE 0, 0, 267, 161
|
DLG_OPTIONS_DS DIALOG DISCARDABLE 0, 0, 267, 125
|
||||||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Advanced Options (DataSource)"
|
CAPTION "Advanced Options (DataSource)"
|
||||||
FONT 8, "MS Sans Serif"
|
FONT 8, "MS Sans Serif"
|
||||||
@ -144,16 +144,16 @@ BEGIN
|
|||||||
BS_AUTOCHECKBOX | WS_TABSTOP,130,10,85,10
|
BS_AUTOCHECKBOX | WS_TABSTOP,130,10,85,10
|
||||||
CONTROL "Show System &Tables",DS_SHOWSYSTEMTABLES,"Button",
|
CONTROL "Show System &Tables",DS_SHOWSYSTEMTABLES,"Button",
|
||||||
BS_AUTOCHECKBOX | WS_TABSTOP,25,25,85,10
|
BS_AUTOCHECKBOX | WS_TABSTOP,25,25,85,10
|
||||||
GROUPBOX "OID Options",IDC_STATIC,15,70,180,25
|
GROUPBOX "OID Options",IDC_STATIC,39,41,180,25
|
||||||
CONTROL "Show &Column",DS_SHOWOIDCOLUMN,"Button",BS_AUTOCHECKBOX |
|
CONTROL "Show &Column",DS_SHOWOIDCOLUMN,"Button",BS_AUTOCHECKBOX |
|
||||||
WS_GROUP | WS_TABSTOP,25,81,59,10
|
WS_GROUP | WS_TABSTOP,62,51,59,10
|
||||||
CONTROL "Fake &Index",DS_FAKEOIDINDEX,"Button",BS_AUTOCHECKBOX |
|
CONTROL "Fake &Index",DS_FAKEOIDINDEX,"Button",BS_AUTOCHECKBOX |
|
||||||
WS_GROUP | WS_TABSTOP,115,81,51,10
|
WS_GROUP | WS_TABSTOP,151,51,51,10
|
||||||
RTEXT "Connect &Settings:",IDC_STATIC,10,105,35,25
|
RTEXT "Connect &Settings:",IDC_STATIC,11,73,35,25
|
||||||
EDITTEXT DS_CONNSETTINGS,50,105,200,20,ES_MULTILINE |
|
EDITTEXT DS_CONNSETTINGS,49,73,200,20,ES_MULTILINE |
|
||||||
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN
|
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN
|
||||||
DEFPUSHBUTTON "OK",IDOK,71,135,50,14,WS_GROUP
|
DEFPUSHBUTTON "OK",IDOK,71,103,50,14,WS_GROUP
|
||||||
PUSHBUTTON "Cancel",IDCANCEL,146,135,50,14
|
PUSHBUTTON "Cancel",IDCANCEL,145,103,50,14
|
||||||
END
|
END
|
||||||
|
|
||||||
|
|
||||||
@ -184,7 +184,7 @@ BEGIN
|
|||||||
RIGHTMARGIN, 260
|
RIGHTMARGIN, 260
|
||||||
VERTGUIDE, 55
|
VERTGUIDE, 55
|
||||||
TOPMARGIN, 7
|
TOPMARGIN, 7
|
||||||
BOTTOMMARGIN, 154
|
BOTTOMMARGIN, 118
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
#endif // APSTUDIO_INVOKED
|
#endif // APSTUDIO_INVOKED
|
||||||
@ -197,8 +197,8 @@ END
|
|||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 7,1,0,2
|
FILEVERSION 7,1,0,3
|
||||||
PRODUCTVERSION 7,1,0,2
|
PRODUCTVERSION 7,1,0,3
|
||||||
FILEFLAGSMASK 0x3L
|
FILEFLAGSMASK 0x3L
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
@ -216,14 +216,14 @@ BEGIN
|
|||||||
VALUE "Comments", "PostgreSQL ODBC driver\0"
|
VALUE "Comments", "PostgreSQL ODBC driver\0"
|
||||||
VALUE "CompanyName", "Insight Distribution Systems\0"
|
VALUE "CompanyName", "Insight Distribution Systems\0"
|
||||||
VALUE "FileDescription", "PostgreSQL Driver\0"
|
VALUE "FileDescription", "PostgreSQL Driver\0"
|
||||||
VALUE "FileVersion", " 07.01.0002\0"
|
VALUE "FileVersion", " 07.01.0003\0"
|
||||||
VALUE "InternalName", "psqlodbc\0"
|
VALUE "InternalName", "psqlodbc\0"
|
||||||
VALUE "LegalCopyright", "\0"
|
VALUE "LegalCopyright", "\0"
|
||||||
VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation. Microsoft® is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation.\0"
|
VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation. Microsoft® is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation.\0"
|
||||||
VALUE "OriginalFilename", "psqlodbc.dll\0"
|
VALUE "OriginalFilename", "psqlodbc.dll\0"
|
||||||
VALUE "PrivateBuild", "\0"
|
VALUE "PrivateBuild", "\0"
|
||||||
VALUE "ProductName", "Microsoft Open Database Connectivity\0"
|
VALUE "ProductName", "Microsoft Open Database Connectivity\0"
|
||||||
VALUE "ProductVersion", " 07.01.0002\0"
|
VALUE "ProductVersion", " 07.01.0003\0"
|
||||||
VALUE "SpecialBuild", "\0"
|
VALUE "SpecialBuild", "\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* {{NO_DEPENDENCIES}} */
|
//{{NO_DEPENDENCIES}}
|
||||||
/* Microsoft Developer Studio generated include file. */
|
// Microsoft Developer Studio generated include file.
|
||||||
/* Used by psqlodbc.rc */
|
// Used by psqlodbc.rc
|
||||||
|
//
|
||||||
#define IDS_BADDSN 1
|
#define IDS_BADDSN 1
|
||||||
#define IDS_MSGTITLE 2
|
#define IDS_MSGTITLE 2
|
||||||
#define DLG_OPTIONS_DRV 102
|
#define DLG_OPTIONS_DRV 102
|
||||||
@ -48,8 +48,8 @@
|
|||||||
#define DRV_KSQO 1055
|
#define DRV_KSQO 1055
|
||||||
#define DS_PG64 1057
|
#define DS_PG64 1057
|
||||||
|
|
||||||
/* Next default values for new objects */
|
// Next default values for new objects
|
||||||
|
//
|
||||||
#ifdef APSTUDIO_INVOKED
|
#ifdef APSTUDIO_INVOKED
|
||||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||||
#define _APS_NEXT_RESOURCE_VALUE 104
|
#define _APS_NEXT_RESOURCE_VALUE 104
|
||||||
|
Loading…
x
Reference in New Issue
Block a user