psqlodbc.git
13 years agofollow of fixed.
Hiroshi Saito [Thu, 12 Jul 2012 12:47:56 +0000 (12:47 +0000)]
follow of fixed.

13 years agoFix the bug which causes a segfault in SQLSpecialColumns when table name is null...
Hiroshi Inoue [Wed, 11 Jul 2012 21:30:08 +0000 (21:30 +0000)]
Fix the bug which causes a segfault in SQLSpecialColumns when table name is null string (bug report by Terrence Enger).

13 years agoadd change history.
Hiroshi Saito [Sat, 12 May 2012 13:25:43 +0000 (13:25 +0000)]
add change history.

13 years agomissing end character.
Hiroshi Saito [Sat, 12 May 2012 12:36:29 +0000 (12:36 +0000)]
missing end character.

13 years agoRemove columns info of dropped tables ASAP.
Hiroshi Inoue [Sat, 12 May 2012 03:31:12 +0000 (03:31 +0000)]
Remove columns info of dropped tables ASAP.

13 years agoFix the bug reported by Alexandre(alepaes@aldeiadigital.com.br).
Hiroshi Inoue [Sat, 12 May 2012 02:50:58 +0000 (02:50 +0000)]
Fix the bug reported by Alexandre(alepaes@aldeiadigital.com.br).
1. Don't discard the result of unnamed statements for later SQLDescribeCol or SQLColAttribute calls.
2. Set rowstart_in_cache properly when closing eof cursors.

13 years agoFix a compilation error etc when MULTITHREAD support is disabled.
Hiroshi Inoue [Fri, 11 May 2012 23:10:01 +0000 (23:10 +0000)]
Fix a compilation error etc when MULTITHREAD support is disabled.

13 years agoImprove the handling of ARRAY type.
Hiroshi Inoue [Fri, 11 May 2012 22:55:36 +0000 (22:55 +0000)]
Improve the handling of ARRAY type.

13 years agoFix a bug about reference count handling for columns info (Bug report by B.Goebel).
Hiroshi Inoue [Fri, 11 May 2012 22:43:23 +0000 (22:43 +0000)]
Fix a bug about reference count handling for columns info (Bug report by B.Goebel).

13 years agoAdd a missing constant.
Hiroshi Inoue [Fri, 11 May 2012 22:33:04 +0000 (22:33 +0000)]
Add a missing constant.

13 years agoAdd a necessary break in a switch statement etc.
Hiroshi Inoue [Fri, 4 May 2012 12:29:44 +0000 (12:29 +0000)]
Add a necessary break in a switch statement etc.

13 years agoUse int instead of size_t when condition >=0 is used.
Hiroshi Inoue [Fri, 4 May 2012 12:11:17 +0000 (12:11 +0000)]
Use int instead of size_t when condition >=0 is used.

13 years agoPrep release. REL-09_01_0100
Hiroshi Saito [Fri, 30 Dec 2011 12:46:53 +0000 (12:46 +0000)]
Prep release.

13 years agoPrep release note.
Hiroshi Saito [Fri, 30 Dec 2011 02:39:28 +0000 (02:39 +0000)]
Prep release note.

13 years ago1. Don't clear the columns cache info when they are referenced.
Hiroshi Inoue [Thu, 29 Dec 2011 14:26:11 +0000 (14:26 +0000)]
1. Don't clear the columns cache info when they are referenced.
2. Correct the column size of interval types.

13 years agoPrep release 09.01.0100.
Hiroshi Saito [Thu, 29 Dec 2011 10:15:58 +0000 (10:15 +0000)]
Prep release 09.01.0100.

13 years agoPrep release 09.01.0100.
Hiroshi Saito [Thu, 29 Dec 2011 09:56:17 +0000 (09:56 +0000)]
Prep release 09.01.0100.

13 years agoadd the change history.
Hiroshi Saito [Sat, 3 Dec 2011 23:21:53 +0000 (23:21 +0000)]
add the change history.

13 years agoImprove the handling of BYTEA type.
Hiroshi Inoue [Fri, 2 Dec 2011 23:05:33 +0000 (23:05 +0000)]
Improve the handling of BYTEA type.

13 years agoadd the change history.
Hiroshi Saito [Tue, 22 Nov 2011 23:19:49 +0000 (23:19 +0000)]
add the change history.

13 years agoClear col_info(columns info) cache ehen DROP/ALTER TABLE is called
Hiroshi Inoue [Tue, 22 Nov 2011 21:50:12 +0000 (21:50 +0000)]
Clear col_info(columns info) cache ehen DROP/ALTER TABLE is called
so that later SQLDescribeCol() etc work properly.

13 years agoFix memory leaks in case memory overflow.
Hiroshi Inoue [Wed, 16 Nov 2011 14:22:17 +0000 (14:22 +0000)]
Fix memory leaks in case memory overflow.

13 years agoadd the change history.
Hiroshi Saito [Fri, 11 Nov 2011 23:48:54 +0000 (23:48 +0000)]
add the change history.

13 years agoBefore dropping the statement, sync and discard the response from the server for...
Hiroshi Inoue [Fri, 11 Nov 2011 22:52:01 +0000 (22:52 +0000)]
Before dropping the statement, sync and discard the response from the server for the pending extended query.

13 years agoAdjust the operations after closing eof-detected cursors.
Hiroshi Inoue [Fri, 11 Nov 2011 12:11:30 +0000 (12:11 +0000)]
Adjust the operations after closing eof-detected cursors.

13 years agoRevise the handling of decimal point.
Hiroshi Inoue [Thu, 10 Nov 2011 13:36:58 +0000 (13:36 +0000)]
Revise the handling of decimal point.

13 years agoFix the bug that the first fetch operation doesn't work properly when
Hiroshi Inoue [Thu, 10 Nov 2011 12:06:32 +0000 (12:06 +0000)]
Fix the bug that the first fetch operation doesn't work properly when
the operation is SQL_FETCH_ABSOLUTE or SQL_FETCH_LAST.

13 years agoFix the bug that PostgreSQL's function calls in queries cause a
Hiroshi Inoue [Mon, 31 Oct 2011 14:20:20 +0000 (14:20 +0000)]
Fix the bug that PostgreSQL's function calls in queries cause a
crash on SQL Server linked servers.

14 years agoSQLStatistics() sets 'D' for the collation column when an reverse index is used.
Hiroshi Inoue [Sat, 15 Oct 2011 03:20:29 +0000 (03:20 +0000)]
SQLStatistics() sets 'D' for the collation column when an reverse index is used.

14 years agoPrep release the minor version. REL-09_00_0310
Hiroshi Saito [Sun, 3 Jul 2011 05:34:27 +0000 (05:34 +0000)]
Prep release the minor version.

14 years agoSome bug fix notes.
Hiroshi Saito [Fri, 24 Jun 2011 16:14:53 +0000 (16:14 +0000)]
Some bug fix notes.

14 years agoCorrect the behavior of SQLSetConnectAttr() for the driver specific options.
Hiroshi Inoue [Wed, 22 Jun 2011 15:08:38 +0000 (15:08 +0000)]
Correct the behavior of SQLSetConnectAttr() for the driver specific options.

14 years agoFix compilation errors 2.
Hiroshi Inoue [Sun, 19 Jun 2011 12:35:38 +0000 (12:35 +0000)]
Fix compilation errors 2.

14 years agoFix compilation errors in case ODBC 2.5.
Hiroshi Inoue [Sun, 19 Jun 2011 12:27:30 +0000 (12:27 +0000)]
Fix compilation errors in case ODBC 2.5.

14 years agoAdd some driver specific options for SQLSetConnectAttr().
Hiroshi Inoue [Sun, 19 Jun 2011 05:03:23 +0000 (05:03 +0000)]
Add some driver specific options for SQLSetConnectAttr().

14 years agoUse SOCK_get_next_n_bytes() instead of SOCK_get_next_byte().
Hiroshi Inoue [Sun, 19 Jun 2011 04:58:35 +0000 (04:58 +0000)]
Use SOCK_get_next_n_bytes() instead of SOCK_get_next_byte().

14 years agoTake the environment variable into account.
Hiroshi Inoue [Sat, 18 Jun 2011 21:33:23 +0000 (21:33 +0000)]
Take the environment variable into account.

14 years agoHandle *with or without oids* correctly.
Hiroshi Inoue [Sat, 18 Jun 2011 11:44:27 +0000 (11:44 +0000)]
Handle *with or without oids* correctly.

14 years agoNow SQLDescribeCol() can detect the changes of column type or size.
Hiroshi Inoue [Sat, 18 Jun 2011 11:26:42 +0000 (11:26 +0000)]
Now SQLDescribeCol() can detect the changes of column type or size.

14 years agoDon't clear the parsed plan in SC_recycle_statement().
Hiroshi Inoue [Sat, 11 Jun 2011 04:59:18 +0000 (04:59 +0000)]
Don't clear the parsed plan in SC_recycle_statement().

14 years agoFix the bug that strings are copied to a null pointer. REL-09_00_0300
Hiroshi Inoue [Sat, 21 May 2011 23:48:12 +0000 (23:48 +0000)]
Fix the bug that strings are copied to a null pointer.

14 years agoCosmetic changes.
Hiroshi Inoue [Sat, 21 May 2011 23:39:42 +0000 (23:39 +0000)]
Cosmetic changes.

14 years agoLet SC_forget_unnamed() clear the result in case the statement is not
Hiroshi Inoue [Sat, 21 May 2011 10:26:12 +0000 (10:26 +0000)]
Let SC_forget_unnamed() clear the result in case the statement is not
executed yet. It would fix the bug reported by Silvio Brandani.

14 years agoRemove ssl_verify_available() because it's no longer needed.
Hiroshi Inoue [Wed, 4 May 2011 11:10:52 +0000 (11:10 +0000)]
Remove ssl_verify_available() because it's no longer needed.

14 years agoAdd the change history.
Hiroshi Saito [Mon, 2 May 2011 13:12:03 +0000 (13:12 +0000)]
Add the change history.

14 years agoRemove a meaningless if clause.
Hiroshi Inoue [Mon, 2 May 2011 08:53:37 +0000 (08:53 +0000)]
Remove a meaningless if clause.

14 years agoPrep release 09.00.0300.
Hiroshi Saito [Thu, 28 Apr 2011 01:03:36 +0000 (01:03 +0000)]
Prep release 09.00.0300.

14 years agoAdd change history.
Hiroshi Saito [Sun, 24 Apr 2011 04:43:59 +0000 (04:43 +0000)]
Add change history.

14 years agoResolve the trouble introduced by the change
Hiroshi Inoue [Fri, 8 Apr 2011 22:35:42 +0000 (22:35 +0000)]
Resolve the trouble introduced by the change
 *Return 0 for the column size when the size of numeric items are unknown*
reported by Marco Gaiarin.

14 years agoArrangement of a history.
Hiroshi Saito [Mon, 4 Apr 2011 13:31:28 +0000 (13:31 +0000)]
Arrangement of a history.

14 years agoConvert large integer strings properly.
Hiroshi Inoue [Tue, 15 Mar 2011 14:31:44 +0000 (14:31 +0000)]
Convert large integer strings properly.

14 years agoFix the bug that Access autonumber fields are not detected in 9.0.0200 reported
Hiroshi Inoue [Mon, 14 Mar 2011 21:49:52 +0000 (21:49 +0000)]
Fix the bug that Access autonumber fields are not detected in 9.0.0200 reported
 by Arnaud Lesauvage.

14 years agoadd some changes.
Hiroshi Saito [Thu, 23 Dec 2010 06:06:55 +0000 (06:06 +0000)]
add some changes.

14 years agoChange to read and skip the rest of result data when out of memory occurs while readi...
Hiroshi Inoue [Thu, 9 Dec 2010 12:41:12 +0000 (12:41 +0000)]
Change to read and skip the rest of result data when out of memory occurs while reading tuples so that we can continue to use the connection.

14 years agoApplied a patch by Taizo Ito and correct the length of BIT type in Postgres.
Hiroshi Inoue [Wed, 24 Nov 2010 22:11:48 +0000 (22:11 +0000)]
Applied a patch by Taizo Ito and correct the length of BIT type in Postgres.

14 years agoaddition of a change history.
Hiroshi Saito [Sat, 20 Nov 2010 17:31:21 +0000 (17:31 +0000)]
addition of a change history.

14 years agoInitialize flags member in QResultClass before calling QR_set_rowstart_in_cache(...
Hiroshi Inoue [Sat, 20 Nov 2010 02:07:10 +0000 (02:07 +0000)]
Initialize flags member in QResultClass before calling QR_set_rowstart_in_cache() per report from Arno Moore.

14 years agoDivide SC_returns_rows() macro into several categories and make SQLResultNumCols...
Hiroshi Inoue [Sat, 20 Nov 2010 01:47:18 +0000 (01:47 +0000)]
Divide SC_returns_rows() macro into several categories and make SQLResultNumCols(), SQLDescribeCol() or SQLColAttribute() available for insert/update/delete .. returning statements.

14 years agoFix the bug introduced by the previous change reprted by Adrien de Croy.
Hiroshi Inoue [Wed, 10 Nov 2010 21:47:48 +0000 (21:47 +0000)]
Fix the bug introduced by the previous change reprted by Adrien de Croy.

14 years agoImproved a mylog output.
Hiroshi Inoue [Tue, 9 Nov 2010 12:14:30 +0000 (12:14 +0000)]
Improved a mylog output.

14 years agoDon't propgate the connection level statment options to the internal statements.
Hiroshi Inoue [Mon, 8 Nov 2010 14:49:36 +0000 (14:49 +0000)]
Don't propgate the connection level statment options to the internal statements.
This fixes an infinite loop reported by Nelson Andre.

14 years agoFix a crash bug which was introduced in 9.0.0200.
Hiroshi Inoue [Sat, 6 Nov 2010 05:48:21 +0000 (05:48 +0000)]
Fix a crash bug which was introduced in 9.0.0200.

14 years agoPrep release 09.00.0200 REL-09_00_0200
Hiroshi Saito [Sat, 30 Oct 2010 14:00:54 +0000 (14:00 +0000)]
Prep release 09.00.0200

14 years agoFix a bug which returns incorrect values for SQL_DATETIME_SUB.
Hiroshi Inoue [Sat, 30 Oct 2010 02:53:16 +0000 (02:53 +0000)]
Fix a bug which returns incorrect values for SQL_DATETIME_SUB.

14 years agoCorrect the handling of parameters in the installer making batch file.
Hiroshi Inoue [Sat, 30 Oct 2010 02:13:56 +0000 (02:13 +0000)]
Correct the handling of parameters in the installer making batch file.

14 years agosome bug fix note is added.
Hiroshi Saito [Fri, 29 Oct 2010 16:28:48 +0000 (16:28 +0000)]
some bug fix note is added.

14 years agoMove the setting of folder name of libpq or gssapi related dlls from .wxs file to...
Hiroshi Inoue [Fri, 29 Oct 2010 12:39:16 +0000 (12:39 +0000)]
Move the setting of folder name of libpq or gssapi related dlls from .wxs file to .bat file.

15 years agoFix a bug introduced by the previous change. Thanks to Andreas again.
Hiroshi Inoue [Wed, 27 Oct 2010 19:17:56 +0000 (19:17 +0000)]
Fix a bug introduced by the previous change. Thanks to Andreas again.

15 years agosome bug fixation.
Hiroshi Saito [Sun, 24 Oct 2010 02:09:25 +0000 (02:09 +0000)]
some bug fixation.

15 years agoFix a bug about the handling of the SQL_RETRIEVE_DATA option.
Hiroshi Inoue [Sat, 23 Oct 2010 14:00:53 +0000 (14:00 +0000)]
Fix a bug about the handling of the SQL_RETRIEVE_DATA option.
I hope this would fix a bug report by Andreas(maps.on@gmx.net).

15 years agoRemember to set permanent flag to holdable cursors on
Hiroshi Inoue [Sat, 23 Oct 2010 10:20:41 +0000 (10:20 +0000)]
Remember to set permanent flag to holdable cursors on
commit with no precedent rollback (to savepoint)
 operations. This fixes a crash bug in case of cursor
operations across transaction.

15 years agoChange to use 'if' instead of an inappropriate 'else if'.
Hiroshi Inoue [Sat, 23 Oct 2010 03:33:19 +0000 (03:33 +0000)]
Change to  use 'if' instead of an inappropriate 'else if'.

15 years agoReturn 0 for the column size when the size of numeric items
Hiroshi Inoue [Sat, 23 Oct 2010 03:26:45 +0000 (03:26 +0000)]
Return 0 for the column size when the size of numeric items
 are unknown. Also improve the calculation of scale of numeric
 items when it is not explicitly specified.

15 years agoFix a bug about sizeof().
Hiroshi Inoue [Fri, 22 Oct 2010 19:54:13 +0000 (19:54 +0000)]
Fix a bug about sizeof().

15 years agoone more. REL-09_00_0101
Hiroshi Saito [Fri, 15 Oct 2010 16:59:41 +0000 (16:59 +0000)]
one more.

15 years agoRe-release will be packed up with my mistake..
Hiroshi Saito [Fri, 15 Oct 2010 16:48:04 +0000 (16:48 +0000)]
Re-release will be packed up with my mistake..
This is best release by Inoue-san great work.
Prep Version 09.00.0101.

15 years agoOoops, forget to take...
Hiroshi Saito [Fri, 15 Oct 2010 16:31:03 +0000 (16:31 +0000)]
Ooops, forget to take...

15 years agoSome specification changes.
Hiroshi Saito [Thu, 14 Oct 2010 13:45:44 +0000 (13:45 +0000)]
Some specification changes.

15 years agoAdd the specification of GSSPI option.
Hiroshi Saito [Wed, 13 Oct 2010 16:24:19 +0000 (16:24 +0000)]
Add the specification of GSSPI option.

15 years agoFixed lib of ver9.0 path.
Hiroshi Saito [Mon, 11 Oct 2010 00:04:40 +0000 (00:04 +0000)]
Fixed lib of ver9.0 path.

15 years agoFixed syntax error.
Hiroshi Saito [Sun, 10 Oct 2010 23:43:54 +0000 (23:43 +0000)]
Fixed syntax error.

15 years agoadd gssapi to extra list.
Hiroshi Saito [Sun, 10 Oct 2010 23:21:07 +0000 (23:21 +0000)]
add gssapi to extra list.

15 years agoOops forgot to add files for GSSAPI authentication.
Hiroshi Inoue [Sun, 10 Oct 2010 16:19:46 +0000 (16:19 +0000)]
Oops forgot to add files for GSSAPI authentication.

15 years agoAhh. mismatch of a library.
Hiroshi Saito [Thu, 7 Oct 2010 15:22:10 +0000 (15:22 +0000)]
Ahh. mismatch of a library.

15 years agoOops, garbage is removed...
Hiroshi Saito [Thu, 7 Oct 2010 14:53:18 +0000 (14:53 +0000)]
Oops, garbage is removed...

15 years agothis was applied for release preparation. REL-09_00_0100
Hiroshi Saito [Wed, 6 Oct 2010 15:42:53 +0000 (15:42 +0000)]
this was applied for release preparation.

15 years agoUpdate win64.mak so that gssapi support is available without libpq.
Hiroshi Inoue [Tue, 5 Oct 2010 21:46:38 +0000 (21:46 +0000)]
Update win64.mak so that gssapi support is available without libpq.

15 years agoMake sure the support of the backward-compatibility version of getaddrinfo()
Hiroshi Inoue [Tue, 5 Oct 2010 14:29:35 +0000 (14:29 +0000)]
Make sure the support of the backward-compatibility version of getaddrinfo()
 family even when _WIN32_WINNT is supplied.

15 years agoRemove a compilation error and some compiler warnings under unixdODBC
Hiroshi Inoue [Tue, 5 Oct 2010 14:21:11 +0000 (14:21 +0000)]
Remove a compilation error and some compiler warnings under unixdODBC
2.3 environment.

15 years agoPG9.0 changes a merge module for vc2008 build.
Hiroshi Saito [Thu, 23 Sep 2010 13:43:23 +0000 (13:43 +0000)]
PG9.0 changes a merge module for vc2008 build.

15 years agoadd the change logs.
Hiroshi Saito [Fri, 10 Sep 2010 01:54:50 +0000 (01:54 +0000)]
add the change logs.

15 years agoCorrect the handling of dynamic cursors so that they are substituted by keyset-driven...
Hiroshi Inoue [Thu, 9 Sep 2010 15:00:56 +0000 (15:00 +0000)]
Correct the handling of dynamic cursors so that they are substituted by keyset-driven ones. This fixs the bug report by Werner Kuhnle.

15 years agoPrep release Version 09.00.0100.
Hiroshi Saito [Sat, 28 Aug 2010 00:01:59 +0000 (00:01 +0000)]
Prep release Version 09.00.0100.

15 years agoadd the change logs.
Hiroshi Saito [Sat, 21 Aug 2010 07:21:06 +0000 (07:21 +0000)]
add the change logs.

15 years ago1.Introduce pgtype_attr_xxxx functions which take a typmod parameter as well as a...
Hiroshi Inoue [Sat, 21 Aug 2010 06:29:20 +0000 (06:29 +0000)]
1.Introduce pgtype_attr_xxxx functions which take a typmod parameter as well as a type oid parameter as an extension of pgtype_xxxx functions so that SQLColumns and SQLDescribeCol(SQLColAttrinute) could use common functions.
2.Call PQconnectdbParams instead of PQconnectdb when it's available.
3.Make cursor open check at transaction end a little more effective.
4.Added code for SQL_INTERVAL support and refcursor support though
  they are disabled.

15 years agoAdded 64-bit version of installer files.
Hiroshi Inoue [Sat, 21 Aug 2010 03:46:45 +0000 (03:46 +0000)]
Added 64-bit version of installer files.

15 years agoUse pg_get_expr(adbin, ..) instead of unreliable adsrc in pg_attrdef
Hiroshi Inoue [Mon, 12 Jul 2010 14:10:27 +0000 (14:10 +0000)]
Use pg_get_expr(adbin, ..) instead of unreliable adsrc in pg_attrdef
so as to know the sequence name associated with serial items.

15 years agoadd the correction history.
Hiroshi Saito [Fri, 25 Jun 2010 22:55:27 +0000 (22:55 +0000)]
add the correction history.

15 years ago1.Improve the handling of bools_as_char case.
Hiroshi Inoue [Mon, 21 Jun 2010 21:48:01 +0000 (21:48 +0000)]
1.Improve the handling of bools_as_char case.
2.Fix a bug when creating a connection string.

15 years agoadd the tips.
Hiroshi Saito [Sun, 13 Jun 2010 14:51:13 +0000 (14:51 +0000)]
add the tips.
Per Dave Page.