psqlodbc.git
18 years ago1. Correct the command/responce sequence of Function Call used for large
Hiroshi Inoue [Mon, 18 Dec 2006 14:45:54 +0000 (14:45 +0000)]
1. Correct the command/responce sequence of Function Call used for large
   object handling.
2. Add support for NaN and (-)Infinity float values.

18 years agoaddendum of correction.
Hiroshi Saito [Sat, 16 Dec 2006 21:48:40 +0000 (21:48 +0000)]
addendum of correction.

18 years agoThe version is now 8.2.0203.
Hiroshi Inoue [Sat, 16 Dec 2006 12:02:54 +0000 (12:02 +0000)]
The version is now 8.2.0203.
1. Fix a bug which forgets unnamed plans too early especially
   when handling large objects.
2. Don't treat charcters whose value >= 128 as alphanumeric in case
   of conversion of binary data to bytea.
3. Change ConfigDSN() so that it takes the options in Setup Dialog
   page 1 into account.
4. Simplify the memory management of statements'columns info
   so as to prevent memory leaks or a crash in parse_statement etc.
5. SQLTables("", SQL_ALL_SCHEMAS. "", ..) now returns a list of
   valid schemas.
6. SQLTables("", "", "", SQL_ALL_TABLE_TYPES) now returns a list
   of valid table types.
7. SQLGetInfo SQL_DATABASE_NAME now returns the database name.
8. Improve the automatic setting mechanism of the client_encoding
   for Windows code page 125x (ANSI drivers only) .

18 years agoCorrection of site information.
Hiroshi Saito [Thu, 14 Dec 2006 17:46:35 +0000 (17:46 +0000)]
Correction of site information.

18 years agoMore changes for setup Dialog test button operation.
Hiroshi Inoue [Mon, 11 Dec 2006 11:34:28 +0000 (11:34 +0000)]
More changes for setup Dialog test button operation.
Fix the bug SQLStatistics ORDINAL_POSITION starts at 2 for PK index.

18 years agoFix a bug about test button operation.
Hiroshi Inoue [Fri, 8 Dec 2006 10:47:13 +0000 (10:47 +0000)]
Fix a bug about test button operation.

18 years agoAdd WIN1252 to the list of encoding in multibyte.c .
Hiroshi Inoue [Wed, 6 Dec 2006 16:37:28 +0000 (16:37 +0000)]
Add WIN1252 to the list of encoding in multibyte.c .

18 years agoFixed typo,and added a revision history.
Hiroshi Saito [Mon, 20 Nov 2006 15:24:10 +0000 (15:24 +0000)]
Fixed typo,and added a revision history.

18 years agoThe version is now 8.2.0202.
Hiroshi Inoue [Mon, 20 Nov 2006 11:35:27 +0000 (11:35 +0000)]
The version is now 8.2.0202.
1) Change to use NULL indicator instead of the length buffer
   in SQLFetch.
2) Fix long -> serial conversion error in MS Access.

18 years agoadded a revision history.
Hiroshi Saito [Tue, 14 Nov 2006 18:11:25 +0000 (18:11 +0000)]
added a revision history.

18 years agoThe version is now 8.2.0201.
Hiroshi Inoue [Tue, 14 Nov 2006 15:29:26 +0000 (15:29 +0000)]
The version is now 8.2.0201.
1. Ditinguish the indicaitor and the octet_length field of APD
   clcearly.
2. Handle @@IDENTITY more generally.
3. Take outer join into account so as to evaluate nullability.
4. Fix a bug about Keyset-driven cursors.

18 years agoTest commit
Dave Page [Thu, 9 Nov 2006 08:20:26 +0000 (08:20 +0000)]
Test commit

18 years agoAdd missing macros.
Hiroshi Inoue [Fri, 3 Nov 2006 10:41:19 +0000 (10:41 +0000)]
Add missing macros.

19 years agoFix a typo.
Hiroshi Inoue [Tue, 31 Oct 2006 12:21:28 +0000 (12:21 +0000)]
Fix a typo.

19 years agoDon't pull in libraries and cflags from pg_config; put in link against
Peter Eisentraut [Mon, 30 Oct 2006 20:05:13 +0000 (20:05 +0000)]
Don't pull in libraries and cflags from pg_config; put in link against
libpq the proper way.

19 years agoFix some bugs or warnings on 64 bit OS.
Hiroshi Inoue [Sat, 28 Oct 2006 05:14:35 +0000 (05:14 +0000)]
Fix some bugs or warnings on 64 bit OS.

19 years agoAdd a missing header for *nix
Dave Page [Tue, 24 Oct 2006 15:01:39 +0000 (15:01 +0000)]
Add a missing header for *nix

19 years agoBump version number REL-08_02_0200
Dave Page [Tue, 24 Oct 2006 14:34:15 +0000 (14:34 +0000)]
Bump version number

19 years agoAvoid backend crash caused by Execute Requests for committed
Hiroshi Inoue [Tue, 24 Oct 2006 11:24:35 +0000 (11:24 +0000)]
Avoid backend crash caused by Execute Requests for committed
holdable cursors.

19 years agoMake sure to add winmm.lib.
Hiroshi Saito [Tue, 24 Oct 2006 05:00:56 +0000 (05:00 +0000)]
Make sure to add winmm.lib.

19 years agoadded a revision history.
Hiroshi Saito [Tue, 24 Oct 2006 04:36:43 +0000 (04:36 +0000)]
added a revision history.

19 years agogcc <malloc.h> has been replaced by <stdlib.h>
Hiroshi Saito [Tue, 24 Oct 2006 04:26:41 +0000 (04:26 +0000)]
gcc <malloc.h> has been replaced by <stdlib.h>

19 years agoThe version is now 8.2.0105.
Hiroshi Inoue [Mon, 23 Oct 2006 15:58:29 +0000 (15:58 +0000)]
The version is now 8.2.0105.
1. SQLStatistics now returns indices based on expression also.
2. Add a TEST button on the setup dialog.

19 years agoFixed a bug in UseDeclareFetch mode.
Hiroshi Inoue [Fri, 20 Oct 2006 22:46:35 +0000 (22:46 +0000)]
Fixed a bug in UseDeclareFetch mode.

19 years agogetpid() instead of _getpid()
Hiroshi Inoue [Fri, 20 Oct 2006 12:00:32 +0000 (12:00 +0000)]
getpid() instead of _getpid()
SQLGetInfo(SQL_NULL_COLLATION) now returns SQL_NC_HIGH instead of SQL_NC_END

19 years agoFix a make_string() bug.
Hiroshi Inoue [Wed, 18 Oct 2006 15:34:34 +0000 (15:34 +0000)]
Fix a make_string() bug.
Remove some compiler warnings.

19 years agoThe version is now 8.2.0104.
Hiroshi Inoue [Tue, 17 Oct 2006 16:18:56 +0000 (16:18 +0000)]
The version is now 8.2.0104.
Take 64bit mode into account for the format parameter of
  (s(n))printf, sscanf etc.

19 years agoadded a revision history.
Hiroshi Saito [Fri, 13 Oct 2006 15:21:09 +0000 (15:21 +0000)]
added a revision history.

19 years agoRemove the function SQLParamOptions from ODBC3.0 .
Hiroshi Inoue [Fri, 13 Oct 2006 13:17:41 +0000 (13:17 +0000)]
Remove the function SQLParamOptions from ODBC3.0 .

19 years agoThe version is now 8.2.0103.
Hiroshi Inoue [Fri, 13 Oct 2006 13:13:33 +0000 (13:13 +0000)]
The version is now 8.2.0103.
1.Improve the handling of connection error messages.
2.Add an option to convert empty strings to NULL.
3.Handle domain type as the basetype.
4.Fake MSS in case of not only SQLExecute but also SQLParamData.
5.Prevent SQLColumns from displaying system columns.
6.Unload delayLoaded libraries on dll detach (not on disconnect time).
7.Fix a SQLGetDiagField crash bug.
8.Fix a insertion count bug.
9.Take win98 cases into account a little.

19 years agoFixed DRIVER_FILE_NAME for *nix.
Hiroshi Saito [Thu, 12 Oct 2006 01:55:33 +0000 (01:55 +0000)]
Fixed DRIVER_FILE_NAME for *nix.

19 years agoDialog translation(jp).
Hiroshi Saito [Tue, 10 Oct 2006 06:58:57 +0000 (06:58 +0000)]
Dialog translation(jp).

19 years agoFixed vc6 environment.
Hiroshi Saito [Tue, 10 Oct 2006 06:25:26 +0000 (06:25 +0000)]
Fixed vc6 environment.
.bug GetProcAddress(getaddrinfo)
.64bit evasion for vc6

19 years agoDocumentation update.
Hiroshi Inoue [Fri, 15 Sep 2006 15:03:34 +0000 (15:03 +0000)]
Documentation update.

19 years agoAdd note about #Deleted# columns in Access, per David Gardner
Dave Page [Fri, 15 Sep 2006 07:52:38 +0000 (07:52 +0000)]
Add note about #Deleted# columns in Access, per David Gardner

19 years agoCorrect the handling of 0-length charcter parameters of Catalog functions.
Hiroshi Inoue [Thu, 14 Sep 2006 13:21:22 +0000 (13:21 +0000)]
Correct the handling of 0-length charcter parameters of Catalog functions.
Update a documentation.

19 years agoRefine oneshot exection sequence.
Hiroshi Inoue [Wed, 13 Sep 2006 15:30:27 +0000 (15:30 +0000)]
Refine oneshot exection sequence.
More type changes for 64 bit compilation.

19 years agoFixed *unix option of pg_config.
Hiroshi Saito [Mon, 11 Sep 2006 20:03:01 +0000 (20:03 +0000)]
Fixed *unix option of pg_config.

19 years agoFixed *nix build.
Hiroshi Saito [Mon, 11 Sep 2006 19:00:28 +0000 (19:00 +0000)]
Fixed *nix build.

19 years agoThe version is now 8.1.0102
Hiroshi Inoue [Mon, 11 Sep 2006 16:28:04 +0000 (16:28 +0000)]
The version is now 8.1.0102
1. Compensate a loss of report of being Jet when using MS Access.
2. Add NULL <-> "" date converion function for FOXPRO and
   revise parse/describe/execute mechanism.
3. Miscellaneous type changes for 64 bit drivers.

19 years agoFix Makefile to include docs and installer directories again per Peter Eisentraut
Dave Page [Wed, 6 Sep 2006 18:49:41 +0000 (18:49 +0000)]
Fix Makefile to include docs and installer directories again per Peter Eisentraut

19 years agoAddition of specification.
Hiroshi Saito [Tue, 5 Sep 2006 17:49:28 +0000 (17:49 +0000)]
Addition of specification.
(08.02.0101) Inoue-san. some bugs - correction.

19 years agotypo.
Hiroshi Saito [Tue, 5 Sep 2006 17:33:38 +0000 (17:33 +0000)]
typo.

19 years agoThe vesrion is now 8.2.0101.
Hiroshi Inoue [Mon, 4 Sep 2006 20:51:06 +0000 (20:51 +0000)]
The vesrion is now 8.2.0101.
1. Delayload import XOLEHLP.dll so that the driver can be loaded
   without the existence of the dll.
2. Fix a simple password authentication bug.
3. Fix a buffer overrun bug which prevented the connection phase
   from retrying another version appropriately.
4. Handle multi-addresses of a specified host properly.
5. Refine the socket handling(connect, recv, send).
6. Display more appropriate error messages in the connection phase.

19 years agoSeperate driver names for Unicode/ANSI (again\!) REL-08_02_0100
Dave Page [Thu, 31 Aug 2006 09:12:56 +0000 (09:12 +0000)]
Seperate driver names for Unicode/ANSI (again\!)

19 years agoDon't build odbcapi25w on *nix
Dave Page [Thu, 31 Aug 2006 08:59:08 +0000 (08:59 +0000)]
Don't build odbcapi25w on *nix

19 years agoAdd missing \
Dave Page [Thu, 31 Aug 2006 08:54:08 +0000 (08:54 +0000)]
Add missing \

19 years agoPrep for 08.02.0100 release
Dave Page [Thu, 31 Aug 2006 08:38:20 +0000 (08:38 +0000)]
Prep for 08.02.0100 release

19 years agoExplicitly cast the strchr() return value to stop VC++ 2k5 bleating about losing...
Dave Page [Thu, 31 Aug 2006 08:24:18 +0000 (08:24 +0000)]
Explicitly cast the strchr() return value to stop VC++ 2k5 bleating about losing the const qualifier.

19 years agoFix compilation errors in debug mode.
Hiroshi Inoue [Wed, 30 Aug 2006 12:18:30 +0000 (12:18 +0000)]
Fix compilation errors in debug mode.

19 years agoImprove connection error message in case of invalid protocol characters.
Hiroshi Inoue [Wed, 30 Aug 2006 11:54:42 +0000 (11:54 +0000)]
Improve connection error message in case of invalid protocol characters.

19 years agoFixed syntax error.
Hiroshi Saito [Wed, 30 Aug 2006 07:29:08 +0000 (07:29 +0000)]
Fixed syntax error.
(MSDTC=no)

19 years agoInitial value has set MSDTC=no of VC6.
Hiroshi Saito [Tue, 29 Aug 2006 18:17:40 +0000 (18:17 +0000)]
Initial value has set MSDTC=no of VC6.
(Support of MSDTC is only VC7 and VC8)
Addition which is a driver name in a resource.
(Unicode or ANSI)

19 years agoAdd some missing files.
Dave Page [Tue, 29 Aug 2006 13:12:58 +0000 (13:12 +0000)]
Add some missing files.

19 years agoAdjustment of the order of a definition.
Hiroshi Saito [Sun, 27 Aug 2006 01:10:36 +0000 (01:10 +0000)]
Adjustment of the order of a definition.

19 years ago. Fix a select() blocking bug in *nix environment.
Hiroshi Inoue [Sat, 26 Aug 2006 22:54:17 +0000 (22:54 +0000)]
. Fix a select() blocking bug in *nix environment.
. Fix some header files depedecies.

19 years agoFixed dllname of win32
Hiroshi Saito [Thu, 24 Aug 2006 23:01:36 +0000 (23:01 +0000)]
Fixed dllname of win32
ANSI: psqlodbca
Unicode: psqlodbc35w

19 years agoguide message was corrected.
Hiroshi Saito [Thu, 24 Aug 2006 17:04:05 +0000 (17:04 +0000)]
guide message was corrected.
(ANSI/Unicode)

19 years agoAdd a missing def file.
Hiroshi Inoue [Thu, 24 Aug 2006 15:58:34 +0000 (15:58 +0000)]
Add a missing def file.

19 years agoadditional of a document.
Hiroshi Saito [Thu, 24 Aug 2006 15:21:42 +0000 (15:21 +0000)]
additional of a document.
08.02.0007

19 years agoThe version is now 8.2.0.7.
Hiroshi Inoue [Thu, 24 Aug 2006 15:03:57 +0000 (15:03 +0000)]
The version is now 8.2.0.7.
. Fix some SQLPrimaryKey, SQLForeignKey bugs.
  Fill PK_NAME or FK_NAME columns.
  Return right update_rule values.
  Remove duplicates.
. Handle SQL_ALL_SCHEMAS parameter in SQLTables.
. Handle unaligned indicator/length buffers more properly.
. Fix a bug in ProcedureColumns in case of set returning functions.
. Fix a buffer overrun in handle_notice_message (Bart Samuel)
. Fix a output parameters problem (Bart Samuel)
. Hold the connection lock while a rollbackable statement
  running.
. Add Extra Opts option to the DSN option setupdialog.

19 years agomake up for a deficiency.
Hiroshi Saito [Thu, 24 Aug 2006 05:44:38 +0000 (05:44 +0000)]
make up for a deficiency.
(*nix)

19 years agopublication of a release note.
Hiroshi Saito [Tue, 22 Aug 2006 16:16:07 +0000 (16:16 +0000)]
publication of a release note.
(not completed yet.)

19 years agoFix a bug in SQLSetPos under UseDeclare/Fetch mode.
Hiroshi Inoue [Wed, 16 Aug 2006 02:27:29 +0000 (02:27 +0000)]
Fix a bug in SQLSetPos under UseDeclare/Fetch mode.

19 years agoAt VC6, although there are winsock2.h and ws2tcpip.h, there is neither
Hiroshi Saito [Wed, 26 Jul 2006 19:14:15 +0000 (19:14 +0000)]
At VC6, although there are winsock2.h and ws2tcpip.h, there is neither
a definition of the addrinfo structure nor a definition of getaddrinfo()
and a freeaddrinfo() function.
It seems that a header and a library are insufficient somehow.

19 years agoThe version is now 8.2.0006.
Hiroshi Inoue [Tue, 18 Jul 2006 21:20:46 +0000 (21:20 +0000)]
The version is now  8.2.0006.
 . Add an option to fake Microsoft SQL Server which would improve
   SERIAL type handling.
 . Add support for LOGIN_TIMEOUT.
 . Improve Statement error handling about the reference of Connection error.
 . Improve the handling BIGINT type in the OSs without having strtoll().
 . Support ODBC CONVERT scalar functions in some cases.
 . Close qlog, mylog files on detach dll.
 . Improve comunication performance in case of the driver's original
   socket.
 . Send a Close message at the end of normal command processing.

19 years agoFix a SQLDescribeCol(SQLColAttribute) bug.
Hiroshi Inoue [Tue, 20 Jun 2006 13:42:42 +0000 (13:42 +0000)]
Fix a SQLDescribeCol(SQLColAttribute) bug.

19 years agofix for linux snprintf issue - snprintf(buf,bufsize,"%s append",buf)
Ludek Finstrle [Thu, 15 Jun 2006 06:58:49 +0000 (06:58 +0000)]
fix for linux snprintf issue - snprintf(buf,bufsize,"%s append",buf)

19 years agoThe makefile for MSDTC support.
Hiroshi Inoue [Wed, 14 Jun 2006 21:25:02 +0000 (21:25 +0000)]
The makefile for MSDTC support.
1. Add MSDTC log option to the setup Dialog.
2. Improve the automatic client encoding for code page 1252.

19 years agofix for "The cursor is open." problem
Ludek Finstrle [Wed, 14 Jun 2006 07:57:26 +0000 (07:57 +0000)]
fix for "The cursor is open." problem

19 years agoThe version is now 8.2.0005.
Hiroshi Inoue [Mon, 12 Jun 2006 15:21:46 +0000 (15:21 +0000)]
The version is now 8.2.0005.

19 years ago1.Fix a crash on SQLDisconnect.
Hiroshi Inoue [Sat, 27 May 2006 14:07:34 +0000 (14:07 +0000)]
1.Fix a crash on SQLDisconnect.
2.Fix a *close cursor* error in *disallow premature* mode.

19 years agoFix an Access Violation bug.
Hiroshi Inoue [Sun, 21 May 2006 21:38:38 +0000 (21:38 +0000)]
Fix an Access Violation bug.

19 years agoThe first cut for MSDTC supprort and the version is now 8.2.0004.
Hiroshi Inoue [Fri, 19 May 2006 23:08:33 +0000 (23:08 +0000)]
The first cut for MSDTC supprort and the version is now 8.2.0004.
1. Improve unknown-size estimation in case of the *longest* option.
2. Improve SQL_DEFAULT_PARAM handling.

19 years ago1. Handle WIN1252 encoding more properly.
Hiroshi Inoue [Sat, 13 May 2006 13:27:54 +0000 (13:27 +0000)]
1. Handle WIN1252 encoding more properly.
2, The preparation for MSDTC support.

19 years agoPost-release version number bump
Dave Page [Fri, 28 Apr 2006 09:17:41 +0000 (09:17 +0000)]
Post-release version number bump

19 years agoCorrect version number
Dave Page [Fri, 28 Apr 2006 08:14:17 +0000 (08:14 +0000)]
Correct version number

19 years agoUpdate the configuration notes to match reality a little better.
Dave Page [Fri, 28 Apr 2006 08:12:24 +0000 (08:12 +0000)]
Update the configuration notes to match reality a little better.

19 years agoFAQ update
Dave Page [Fri, 28 Apr 2006 07:51:13 +0000 (07:51 +0000)]
FAQ update

19 years agoadds to a document. and version correction of *nix.
Hiroshi Saito [Thu, 27 Apr 2006 18:38:41 +0000 (18:38 +0000)]
adds to a document. and version correction of *nix.
Inoue san correspondence.

19 years agoThe version is now 8.2.0002.
Hiroshi Inoue [Thu, 27 Apr 2006 14:49:04 +0000 (14:49 +0000)]
The version is now 8.2.0002.
1.Prevent SQL injections via ODBC catalog function calls.
2.Fix SQLNumParams problem related to literal or dollar quote.
3.Call libpq in case of Kerberos authentication.
4.Add E' before literal for after 8.1 severs.
5.Return the correct error message in case of no password.
6.Take E'...' literal expression into account.
7.Fix an SQL_C_WCHAR -> numeric type conversion problem.
8.Refine the handling of io or output parameters.
9.Refine the dollar quote handling.
10.Fix the client_encoding mismatch problem.
11.Fix for SQLStatistics returns UNKNOWN instead of real column names.

19 years agoAdditional Business Objects notes from Martín de la Herrán
Dave Page [Mon, 24 Apr 2006 20:03:33 +0000 (20:03 +0000)]
Additional Business Objects notes from Martín de la Herrán

19 years agoGabage deletion.
Hiroshi Saito [Mon, 17 Apr 2006 04:37:57 +0000 (04:37 +0000)]
Gabage deletion.

19 years agoCorrection of a path problem.
Hiroshi Saito [Mon, 17 Apr 2006 00:30:11 +0000 (00:30 +0000)]
Correction of a path problem.
(Dave Page)

19 years agoConstruction by VS2005Express+PSDK-x86 is supported.
Hiroshi Saito [Fri, 14 Apr 2006 03:30:01 +0000 (03:30 +0000)]
Construction by VS2005Express+PSDK-x86 is supported.

19 years agoRename Unix library back to psqlodbc.so.
Peter Eisentraut [Wed, 12 Apr 2006 12:09:24 +0000 (12:09 +0000)]
Rename Unix library back to psqlodbc.so.

19 years agoFix a typo
Dave Page [Mon, 10 Apr 2006 10:01:08 +0000 (10:01 +0000)]
Fix a typo

19 years agoFixup some driver naming inconsistencies/non-user-friendliness
Dave Page [Mon, 10 Apr 2006 09:59:05 +0000 (09:59 +0000)]
Fixup some driver naming inconsistencies/non-user-friendliness

19 years agoCorrect *nix .so name.
Dave Page [Mon, 10 Apr 2006 09:53:16 +0000 (09:53 +0000)]
Correct *nix .so name.

19 years agoMake the config dialogues a little more presentable again
Dave Page [Mon, 10 Apr 2006 09:46:58 +0000 (09:46 +0000)]
Make the config dialogues a little more presentable again

19 years agoRemove iodbc headers that we no longer ship.
Dave Page [Sat, 8 Apr 2006 18:51:01 +0000 (18:51 +0000)]
Remove iodbc headers that we no longer ship.
Add catfuncs.h that seemed to be missing.

19 years agoUpdate release notes
Dave Page [Sat, 8 Apr 2006 18:21:35 +0000 (18:21 +0000)]
Update release notes

19 years agoBump version number to 08.02.0001 in preparation for 08.02 releases.
Dave Page [Sat, 8 Apr 2006 18:06:42 +0000 (18:06 +0000)]
Bump version number to 08.02.0001 in preparation for 08.02 releases.
Update the installer for the new codebase.
Sanitise filenames as there is only one buld type (ODBC 3, Unicode).
Default the ODBC version to 3.51 in all places, not just a few as it was.

19 years agoRemove files not needed in the enhanced branch
Dave Page [Sat, 8 Apr 2006 16:45:05 +0000 (16:45 +0000)]
Remove files not needed in the enhanced branch

19 years agoCommit the changed files from the enhanced branch
Dave Page [Sat, 8 Apr 2006 16:30:02 +0000 (16:30 +0000)]
Commit the changed files from the enhanced branch

19 years agotypo "Miscellanous". REL8_1_STABLE
Hiroshi Saito [Sun, 26 Feb 2006 16:48:20 +0000 (16:48 +0000)]
typo "Miscellanous".
report of John Poole.

19 years agoMore release note tweaks. REL-08_01_0200
Dave Page [Thu, 2 Feb 2006 09:07:39 +0000 (09:07 +0000)]
More release note tweaks.

19 years agoTweak release notes
Dave Page [Tue, 31 Jan 2006 13:39:30 +0000 (13:39 +0000)]
Tweak release notes

19 years agoFix typo
Dave Page [Tue, 31 Jan 2006 13:31:47 +0000 (13:31 +0000)]
Fix typo

19 years agoVersion number bump. Fix some line ends.
Dave Page [Tue, 31 Jan 2006 13:21:26 +0000 (13:21 +0000)]
Version number bump. Fix some line ends.