Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit81704b9

Browse files
author
Byron Nikolaidis
committed
update to 6.40.0009 and provide WIN32 defines for auto-configured items
such as BLCKSZ and MAXPGPATHLEN?
1 parentdcba387 commit81704b9

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

‎src/interfaces/odbc/psqlodbc.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ typedef UInt4 Oid;
4040
#defineDRIVERNAME "PostgreSQL ODBC"
4141
#defineDBMS_NAME "PostgreSQL"
4242

43-
#defineDBMS_VERSION "06.40.0008 PostgreSQL 6.4/6.5"
44-
#definePOSTGRESDRIVERVERSION "06.40.0008"
43+
#defineDBMS_VERSION "06.40.0009 PostgreSQL 6.4/6.5"
44+
#definePOSTGRESDRIVERVERSION "06.40.0009"
4545

4646
#ifdefWIN32
4747
#defineDRIVER_FILE_NAME"PSQLODBC.DLL"
@@ -50,6 +50,10 @@ typedef UInt4 Oid;
5050
#endif
5151

5252
/* Limits */
53+
#ifdefWIN32
54+
#defineBLCKSZ 4096
55+
#endif
56+
5357
#defineMAX_QUERY_SIZE(BLCKSZ*2)
5458
#defineMAX_MESSAGE_LENMAX_QUERY_SIZE
5559
#defineMAX_CONNECT_STRING4096

‎src/interfaces/odbc/psqlodbc.rc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ BEGIN
145145
CONTROL "Show System &Tables",DS_SHOWSYSTEMTABLES,"Button",
146146
BS_AUTOCHECKBOX | WS_TABSTOP,25,25,85,10
147147
GROUPBOX "Protocol",IDC_STATIC,15,40,180,25
148-
CONTROL "6.4",DS_PG64,"Button",BS_AUTORADIOBUTTON | WS_GROUP,25,
149-
50,26,10
148+
CONTROL "6.5/6.4",DS_PG64,"Button",BS_AUTORADIOBUTTON | WS_GROUP,
149+
25,50,35,10
150150
CONTROL "6.3",DS_PG63,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,
151151
75,50,26,10
152152
CONTROL "6.2",DS_PG62,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,
@@ -204,8 +204,8 @@ END
204204
//
205205

206206
VS_VERSION_INFO VERSIONINFO
207-
FILEVERSION 6,40,0,6
208-
PRODUCTVERSION 6,40,0,6
207+
FILEVERSION 6,40,0,9
208+
PRODUCTVERSION 6,40,0,9
209209
FILEFLAGSMASK 0x3L
210210
#ifdef _DEBUG
211211
FILEFLAGS 0x1L
@@ -223,12 +223,12 @@ BEGIN
223223
VALUE "Comments", "PostgreSQL ODBC driver for Windows 95\0"
224224
VALUE "CompanyName", "Insight Distribution Systems\0"
225225
VALUE "FileDescription", "PostgreSQL Driver\0"
226-
VALUE "FileVersion", " 6.40.0006\0"
226+
VALUE "FileVersion", " 6.40.0009\0"
227227
VALUE "InternalName", "psqlodbc\0"
228228
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"
229229
VALUE "OriginalFilename", "psqlodbc.dll\0"
230230
VALUE "ProductName", "Microsoft Open Database Connectivity\0"
231-
VALUE "ProductVersion", " 6.40.0006\0"
231+
VALUE "ProductVersion", " 6.40.0009\0"
232232
END
233233
END
234234
BLOCK "VarFileInfo"

‎src/interfaces/odbc/setup.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ extern GLOBAL_VALUES globals;
3232
// Constants ---------------------------------------------------------------
3333
#defineMIN(x,y) ((x) < (y) ? (x) : (y))
3434

35+
#ifdefWIN32
36+
#defineMAXPGPATH (255+1)
37+
#endif
38+
3539
#defineMAXKEYLEN (15+1) // Max keyword length
3640
#defineMAXDESC (255+1) // Max description length
3741
#defineMAXDSNAME (32+1) // Max data source name length

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp