Hiroshi Inoue [Fri, 22 Nov 2002 10:32:00 +0000 (10:32 +0000)]
Use SQL_TYPE_DATE, SQL_TYPE_TIME and SQL_TYPE_TIMESTAMP
instead of SQL_DATE, SQL_TIME and SQL_TIMESTAMP.
Hiroshi Inoue [Fri, 22 Nov 2002 10:27:45 +0000 (10:27 +0000)]
Change SQLGetTypeinfo to display ODBC3.x info.
Hiroshi Inoue [Wed, 13 Nov 2002 23:42:05 +0000 (23:42 +0000)]
1) Fixed pretty many 'if (..);' lines(my fault sorry).
2) Add a few #include lines(config.h pthread,h) for *nix.
3) Supress automatic client_encoding setting in some cases.
Hiroshi Inoue [Wed, 13 Nov 2002 02:48:07 +0000 (02:48 +0000)]
Fix a crash bug thanks to Ryo Hattori.
Dave Page [Tue, 12 Nov 2002 08:26:47 +0000 (08:26 +0000)]
Updated version number
Dave Page [Fri, 8 Nov 2002 17:06:48 +0000 (17:06 +0000)]
07.02.0004 Release
Hiroshi Inoue [Thu, 7 Nov 2002 10:24:33 +0000 (10:24 +0000)]
Thread safe driver is available on some platforms.
Dave Page [Thu, 7 Nov 2002 08:31:10 +0000 (08:31 +0000)]
Removed out of date Installshield settings.
Dave Page [Thu, 7 Nov 2002 08:28:29 +0000 (08:28 +0000)]
Added the installer to CVS.
Hiroshi Inoue [Wed, 6 Nov 2002 09:44:55 +0000 (09:44 +0000)]
1) Change to use thread-safe functions(xxxx_r) if possible.
Hiroshi Inoue [Wed, 6 Nov 2002 08:49:55 +0000 (08:49 +0000)]
Build with multithread support by default in case ODBC 3.X.
Hiroshi Inoue [Wed, 6 Nov 2002 03:56:21 +0000 (03:56 +0000)]
1) Improve the handling of dead connections mainly for connection pooling.
2) Change to not abort on erros(e.g. invalid client_encoding) during
CC_send_settings().
Hiroshi Inoue [Wed, 30 Oct 2002 09:45:12 +0000 (09:45 +0000)]
1) Change SQLParamOptions to count errors as processed rows
per bug report from Barry Cohen..
2) Fix a bug about date/time escape string per bug report
from Janet BorSchowa.
Hiroshi Inoue [Thu, 24 Oct 2002 09:51:07 +0000 (09:51 +0000)]
Add multithreading on Solaris and Linux by Janet Borschowa
<borschow@roguewave.com>.
Bruce Momjian [Mon, 21 Oct 2002 23:12:51 +0000 (23:12 +0000)]
Add odbc.sgml.
Hiroshi Inoue [Mon, 21 Oct 2002 08:31:00 +0000 (08:31 +0000)]
1) Change SQLExtendedFetch to return SQL_NO_DATA_FOUND not SQL_ERROR
for non-select cursors per bug(?) report from Gabor.
2) Handle the CURS_IN_ROWSET flag properly when the 5th parameter
of SQLExtendedFetch is NULL per bug report from Janet Borschowa.
Hiroshi Inoue [Mon, 21 Oct 2002 08:12:15 +0000 (08:12 +0000)]
Change updatable cursors for 'select func()' to not return
an error(just changing the cursor to be read-only) per bug
report from Keisaku Sasaki.
Dave Page [Wed, 16 Oct 2002 09:02:10 +0000 (09:02 +0000)]
Added README.unix to build system.
Dave Page [Wed, 16 Oct 2002 08:57:15 +0000 (08:57 +0000)]
Updated README.unix for new build environment.
Dave Page [Wed, 16 Oct 2002 07:39:54 +0000 (07:39 +0000)]
Added Unix build environment as supplied by Peter Eisentraut.
Hiroshi Inoue [Thu, 10 Oct 2002 06:37:54 +0000 (06:37 +0000)]
1) Change SQLDescribeCol or SQLColAttribute to return right ResultNumCols for
keyset/static cursors.
2) Change PG_TYPE_TEXT -> PG_TYPE_VARCHAR for character columns of the
result of catalog functions (bug report from Mike Mascari).
Hiroshi Inoue [Thu, 3 Oct 2002 08:16:57 +0000 (08:16 +0000)]
Change the default precision of Timestamp type.
Dave Page [Thu, 3 Oct 2002 07:44:42 +0000 (07:44 +0000)]
Added unix build instructions.
Hiroshi Inoue [Mon, 23 Sep 2002 08:08:22 +0000 (08:08 +0000)]
1) Removed most static variables for thread safety.
2) Trial implementation of the thread safe driver under
Windows.
3) Fix a bug about DSN options setting.
4) Fix a bug about Driver options setting.
5) Implement SQLProcedureColumns().
6) Changed default numeric precision/scale.
7) Fix some memory leaks in Unicode driver.
8) datetime -> timestamp with time zone since 7.0.
9) Change manually started(using begin) transactions never
be implicitly committed.
Hiroshi Inoue [Fri, 6 Sep 2002 05:51:45 +0000 (05:51 +0000)]
Change NAMEDATALEN to 64 for 7.3 servers.
Change max index key count to 32 for 7.3 servers.
Hiroshi Inoue [Fri, 9 Aug 2002 10:04:21 +0000 (10:04 +0000)]
Change LOCK statements to start new transaction
in auto-commit off mode.
Hiroshi Inoue [Thu, 1 Aug 2002 03:07:50 +0000 (03:07 +0000)]
1) Improve the handling of the queries like (select ..) union (select ..)
whose first non-space character is '('.
2) Handle Insert .. () VALUES ().
Hiroshi Inoue [Tue, 30 Jul 2002 00:48:02 +0000 (00:48 +0000)]
Fix a bug about automatic client_encoding setting.
Hiroshi Inoue [Fri, 26 Jul 2002 08:45:54 +0000 (08:45 +0000)]
Fix a bug about the handling of CX parameter of the connection string
reported by Sergey Smirnov.
Hiroshi Inoue [Mon, 15 Jul 2002 02:56:39 +0000 (02:56 +0000)]
Fix a bug about the handling of '.' in parse.c.
Hiroshi Inoue [Fri, 12 Jul 2002 02:02:26 +0000 (02:02 +0000)]
An improvement of User Interface(Setup dialog) by Dave Page.
Hiroshi Inoue [Fri, 12 Jul 2002 01:41:25 +0000 (01:41 +0000)]
1) Fix a memory leak in use declare/fetch mode.
2) Change default build mode to multibyte(Windows).
Hiroshi Inoue [Thu, 11 Jul 2002 01:52:46 +0000 (01:52 +0000)]
Make NAMEDATALEN changeable at compile time.
Hiroshi Inoue [Fri, 5 Jul 2002 01:31:41 +0000 (01:31 +0000)]
Fix a bug reported by Zhou Han.
Hiroshi Inoue [Fri, 28 Jun 2002 02:44:15 +0000 (02:44 +0000)]
1) prevent setting of KSQO on 7.3+ servers(Thanks to Dave Page).
2) Allow LF->CR/LF conversion under UNICODE driver.
Hiroshi Inoue [Tue, 25 Jun 2002 01:54:19 +0000 (01:54 +0000)]
1) Add support for GB18030.
2) Fix a bug about the handling of large objects.
Bruce Momjian [Thu, 20 Jun 2002 20:29:54 +0000 (20:29 +0000)]
Update copyright to 2002.
Thomas G. Lockhart [Sat, 15 Jun 2002 03:00:09 +0000 (03:00 +0000)]
Add LOCALTIME and LOCALTIMESTAMP functions per SQL99 standard.
Remove ODBC-compatible empty parentheses from calls to SQL99 functions
for which these parentheses do not match the standard.
Update the ODBC driver to ensure compatibility with the ODBC standard
for these functions (e.g. CURRENT_TIMESTAMP, CURRENT_USER, etc).
Include a new appendix in the User's Guide which lists the labeled features
for SQL99 (the labeled features replaced the "basic", "intermediate",
and "advanced" categories from SQL92). features.sgml does not yet split
this list into "supported" and "unsupported" lists.
Hiroshi Inoue [Wed, 12 Jun 2002 02:27:44 +0000 (02:27 +0000)]
1) Fix a bug *double error message*.
2) Fix a bug *passowrd prompt in case of md5 authentication*.
3) Improve the DSN setup dialog.
Hiroshi Inoue [Thu, 6 Jun 2002 09:47:25 +0000 (09:47 +0000)]
Add missing win_setup.h.
Hiroshi Inoue [Thu, 6 Jun 2002 04:50:47 +0000 (04:50 +0000)]
Add *Int8 As* option.
Hiroshi Inoue [Wed, 22 May 2002 05:51:03 +0000 (05:51 +0000)]
1) Support Keyset Driven driver cursors.
2) Supprt ARD precision/scale and SQL_C_NUEMRIC.
3) Minimal implementation of SQLGetDiagField().
4) SQLRowCount() reports the result of SQLSetPos and SQLBulkOperation.
5) int8 -> SQL_NUMERIC for Microsoft Jet.
6) Support isolation level change.
7) ODBC3.0 SQLSTATE code.
8) Append mode log files.
Hiroshi Inoue [Thu, 9 May 2002 04:10:22 +0000 (04:10 +0000)]
Add a file for version control.
Hiroshi Inoue [Thu, 25 Apr 2002 02:50:08 +0000 (02:50 +0000)]
Fix for the following items about escape sequence
by Marcelo Aceto <aceto@newinf.com.br> .
1) Wrong translations of embedded escape sequences inside outer join escape
sequences.
2) Wrong translation of parameter markers inside outer joins and function
escape sequences.
3) Bad concatenation of date, time, timestamp constants with next word in
statement:
Bruce Momjian [Wed, 24 Apr 2002 01:56:20 +0000 (01:56 +0000)]
Sorry for the package, but the following patch need to be applied to get
the new verion compiled on SCO Openserver 5.0.5 and Unixware 7.1.1
Nicolas Bazin
Hiroshi Inoue [Tue, 23 Apr 2002 04:14:13 +0000 (04:14 +0000)]
1) Fix SQLProcedures().
2) Handle timestamp without time zone.
3) Improve SQLForeignKeys() in multibyte mode.
Hiroshi Inoue [Mon, 15 Apr 2002 02:46:00 +0000 (02:46 +0000)]
1) Fix a bug about reporting varchar info thanks to Aceto.
2) Introcuced 3 drivers.
3) The version is now 7.02.0001.
Hiroshi Inoue [Fri, 12 Apr 2002 08:03:12 +0000 (08:03 +0000)]
1) Fix a bug in declare/fetch mode.
2) Suppress some error logs for the request to other drivers.
Hiroshi Inoue [Wed, 10 Apr 2002 08:18:54 +0000 (08:18 +0000)]
Prevent an infinite loop of error reporting.
Hiroshi Inoue [Tue, 9 Apr 2002 03:58:33 +0000 (03:58 +0000)]
Let psqlodbc30 be compilable without /D DRIVER_CURSOR_IMPLEMENT.
Hiroshi Inoue [Thu, 4 Apr 2002 23:29:16 +0000 (23:29 +0000)]
Fix a bug in SQLError().
Hiroshi Inoue [Thu, 4 Apr 2002 01:36:17 +0000 (01:36 +0000)]
Fix a bug in multibyte_strchr().
Hiroshi Inoue [Tue, 2 Apr 2002 10:57:25 +0000 (10:57 +0000)]
Fix compiler warnings.
Hiroshi Inoue [Tue, 2 Apr 2002 10:50:50 +0000 (10:50 +0000)]
[HACKERS] Proposed patch for ODBC driver w/ C-a-n-c-e-l
From: Bradley McLean <brad@bradm.net>
Patch against 7,2 submitted for comment.
This seems to work just fine; Now, when our users submit a 2 hour
query with four million row sorts by accident, then cancel it 30 seconds
later, it doesn't bog down the server ...
Hiroshi Inoue [Mon, 1 Apr 2002 03:01:15 +0000 (03:01 +0000)]
1) Add rollback functionality to updatable cursors.
2) Implement some options for SQLGetDescField().
3) Handle *Inifinity* timestamp for SQL_C_CHAR type output.
4) Separate Unicode conversions from common implementations.
5) Improve internal parse_statement() function.
Bruce Momjian [Fri, 29 Mar 2002 07:48:56 +0000 (07:48 +0000)]
Fix ODBC warnings about missing parens and pg_ismb not used (added
#ifdef NOT_USED).
Hiroshi Inoue [Thu, 28 Mar 2002 08:08:07 +0000 (08:08 +0000)]
[2002-03-28]
1) Prepare to separate 4 kinds of Descriptor handles.
2) Detect the transaction status more naturally.
3) Improve Parse Statement functionality for the use
of updatable cursors.
4) Improve updatable cursors.
5) Implement SQLGetDescField() and improve SQLColAttribute().
6) etc.
Bruce Momjian [Mon, 25 Mar 2002 01:53:55 +0000 (01:53 +0000)]
Fix for ODBC compile warnings.
Hiroshi Inoue [Thu, 14 Mar 2002 05:42:04 +0000 (05:42 +0000)]
1) Internal improvements to handle updatable cursors(1st cut).
2) Fix a bug in SQLColAttribute().
Hiroshi Inoue [Mon, 11 Mar 2002 10:25:57 +0000 (10:25 +0000)]
Bug fixes for the 2002-03-08 change.
1) Put back the error message for SQLError().
2) Change Disallow premature to handle the SELECTed
result.
3) Put back the behavior of AUTUCOMMIT mode change.
4) Fix SQLColumns for ODBC3.0.
5) Improve the handling of variable bookmark in ODBC3.0.
6) Enable Recognize Unique Index Button.
Hiroshi Inoue [Fri, 8 Mar 2002 09:50:39 +0000 (09:50 +0000)]
Remove compile errors.
Hiroshi Inoue [Fri, 8 Mar 2002 08:52:55 +0000 (08:52 +0000)]
1) Implement SQLParamOptions().
2) Handle Multiple results and implement SQLMoreResult().
3) Improve multibyte handling thanks to Eiji Tokuya.
4) Add new options.
LF <-> CR/LF converion.
TRUE is -1 (for VB).
5) Introduce unicode(UCS-2) support.
6) Reduce the length of connection strings.
7) Improve SQLError, SQLGetDiagRec(ODBC 3.0).
8) Implement SQLTablePrivileges().
9) Miscellaneous changes for ODBC 3.0 support.
Bruce Momjian [Wed, 6 Mar 2002 06:10:43 +0000 (06:10 +0000)]
Change made to elog:
o Change all current CVS messages of NOTICE to WARNING. We were going
to do this just before 7.3 beta but it has to be done now, as you will
see below.
o Change current INFO messages that should be controlled by
client_min_messages to NOTICE.
o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc.
to always go to the client.
o Remove INFO from the client_min_messages options and add NOTICE.
Seems we do need three non-ERROR elog levels to handle the various
behaviors we need for these messages.
Regression passed.
Bruce Momjian [Tue, 5 Mar 2002 05:52:50 +0000 (05:52 +0000)]
> Tatsuo Ishii wrote:
> > > > It was made to cope with encoding such as an Asian bloc in 7.2Beta2.
> > > >
> > > > Added ServerEncoding
> > > > Korean (JOHAB), Thai (WIN874),
> > > > Vietnamese (TCVN), Arabic (WIN1256)
> > > >
> > > > Added ClientEncoding
> > > > Simplified Chinese (GBK), Korean (UHC)
> > > >
> > > >
> > > >
> http://www.sankyo-unyu.co.jp/Pool/postgresql-7.2b2.newencoding.diff.tar.gz
> > > > (608K)
> > >
> > > Looks good. I need some people to review this for me.
> >
> > For me they look good too. The only missing part is a
> > documentation. I will ask him to write it up. If he couldn't, I will
> > do it for him.
> > > The diff is 3mb
> > > but appears to address only additions to multibyte. I have attached a
> > > list of files it modifies. Also, look at the sizes of the mb/
> > > directory. It is getting large:
> > >
> > > 4 ./CVS
> > > 6 ./Unicode/CVS
> > > 3433 ./Unicode
> > > 6197 .
> >
> > Yes. We definitely need the on-the-fly encoding addition capability:
> > i.e. CREATE CHRACTER SET in the future...
> > --
> > Tatsuo Ishii
> >
> >
Address chainge.
http://www.sankyo-unyu.co.jp/Pool/postgresql-7.2.newencoding.diff.gz
Add PsqlODBC and document ...etc patch.
Eiji Tokuya
Hiroshi Inoue [Fri, 1 Mar 2002 07:18:34 +0000 (07:18 +0000)]
Add files for Unicode support.
Hiroshi Inoue [Wed, 27 Feb 2002 01:43:24 +0000 (01:43 +0000)]
Improve the handling of ODBC escape(a request from Marcelo Aceto).
Change SQLGetFunctions() to reply not yet implemented ODBC 3.0
functions precisely.
Hiroshi Inoue [Mon, 18 Feb 2002 05:54:50 +0000 (05:54 +0000)]
Remove compile warnings in multibute mode.
Hiroshi Inoue [Mon, 18 Feb 2002 03:16:11 +0000 (03:16 +0000)]
The version is now 7.01.0010.
1) Handle parameter array.
2) Allow re-use of the connection handle after SQLDisconnect.
3) Reject NULL if no indicator specified.
4) Improve the handling of '_' in table name.
5) Unify internal begin/commit/abort operations.
6) Change SQLTables() to return null not "" for the
table_owner.
7) Fix a bug about parameter handling reported by Benoit Menendez.
8) Add cast in handling ODBC date/time escape sequences.
9) Fix a bug about cache_size handing in declare/fetch mode.
[ODBC3.0 related]
10) Improve the handling of descriptor handles(ODBC3.0).
11) Improve the type handling of some types for ODBC3.0.
[Thanks to Marcelo Aceto for his useful patches]
12) Allow nested ODBC escape.
13) Allow changing autocommit on/off inside the transaction
block.
14) Improve the handling of ODBC scalar functions.
Hiroshi Inoue [Mon, 18 Feb 2002 02:15:04 +0000 (02:15 +0000)]
Separate info30.c from info.c.
Hiroshi Inoue [Mon, 18 Feb 2002 01:43:24 +0000 (01:43 +0000)]
Add files for ODBC3.0 support.
Bruce Momjian [Mon, 18 Feb 2002 01:15:46 +0000 (01:15 +0000)]
Remove ODBC todo, add to main TODO.
Bruce Momjian [Mon, 14 Jan 2002 15:34:41 +0000 (15:34 +0000)]
Small AIX fixes from Rick Flower.
Hiroshi Inoue [Fri, 11 Jan 2002 06:01:47 +0000 (06:01 +0000)]
*** empty log message ***
Hiroshi Inoue [Fri, 11 Jan 2002 02:50:01 +0000 (02:50 +0000)]
Add a directory to save the changes until 7.3-tree is branched.
Tom Lane [Sun, 30 Dec 2001 23:09:42 +0000 (23:09 +0000)]
Make sure that all <ctype.h> routines are called with unsigned char
values; it's not portable to call them with signed chars. I recall doing
this for the last release, but a few more uncasted calls have snuck in.
Thomas G. Lockhart [Fri, 21 Dec 2001 06:01:36 +0000 (06:01 +0000)]
Remove duplicate lines from fouled up last commit (my DSL line failed
during the CVS update, leaving locks and bad files).
Thomas G. Lockhart [Mon, 10 Dec 2001 00:11:06 +0000 (00:11 +0000)]
Remove duplicate lines from previous patch attempt. Trouble with my
DSL line at home broke things right in the middle of an update. :(
Thomas G. Lockhart [Mon, 10 Dec 2001 00:01:14 +0000 (00:01 +0000)]
Support ODBC-style CURRENT_TIME, CURRENT_USER, etc with trailing empty
parens. This is not SQL spec syntax, so later we will remove
this extension from gram.y.
Peter Eisentraut [Sun, 2 Dec 2001 11:38:40 +0000 (11:38 +0000)]
More correct way to check for existence of types, which allows to specify
which include files to consider. Should fix BeOS problems with int8 types.
Peter Eisentraut [Sun, 2 Dec 2001 11:36:04 +0000 (11:36 +0000)]
Update since left and right are no longer key words.
Bruce Momjian [Wed, 28 Nov 2001 00:16:53 +0000 (00:16 +0000)]
No longer need define test in md5.h because of Hiroshi's win_md5.c.
Hiroshi Inoue [Mon, 19 Nov 2001 06:26:00 +0000 (06:26 +0000)]
Fix comment at top of file to match file name.
Bruce Momjian [Sun, 18 Nov 2001 23:02:19 +0000 (23:02 +0000)]
Improve comments about duplicate files.
Bruce Momjian [Fri, 16 Nov 2001 18:28:16 +0000 (18:28 +0000)]
Add missing prototype.
Bruce Momjian [Fri, 16 Nov 2001 18:10:04 +0000 (18:10 +0000)]
Add configure result checks on odbc, per Peter E.
Hiroshi Inoue [Fri, 16 Nov 2001 05:55:10 +0000 (05:55 +0000)]
Change SQLDescribeCol so that it returns alias name properly.
Bruce Momjian [Thu, 15 Nov 2001 16:16:08 +0000 (16:16 +0000)]
Update md5.h because it can't get the value from configure.
Bruce Momjian [Thu, 15 Nov 2001 03:12:53 +0000 (03:12 +0000)]
Fix comment at top of file to match file name.
Bruce Momjian [Tue, 13 Nov 2001 22:08:04 +0000 (22:08 +0000)]
Update CVS tags.
Bruce Momjian [Tue, 13 Nov 2001 22:06:58 +0000 (22:06 +0000)]
Remove md5.c check, add CVS log stamp. Update comments.
Bruce Momjian [Mon, 12 Nov 2001 02:05:17 +0000 (02:05 +0000)]
Sync up both files.
Bruce Momjian [Mon, 12 Nov 2001 01:59:43 +0000 (01:59 +0000)]
Add comments and remove CVS tag from md5.c so they remain identical.
Bruce Momjian [Mon, 12 Nov 2001 01:56:12 +0000 (01:56 +0000)]
Update md5 to match.
Hiroshi Inoue [Mon, 12 Nov 2001 00:54:28 +0000 (00:54 +0000)]
Add md5 authentication support thanks to Bruce Momjian.
Hiroshi Inoue [Sun, 11 Nov 2001 07:24:36 +0000 (07:24 +0000)]
Use abbreviated connection string more widely.
This seems to fix the trouble with PowerBuilder
reported by Magbus Weber.
Bruce Momjian [Thu, 8 Nov 2001 20:37:52 +0000 (20:37 +0000)]
Fix indenting for 'extern "C"' cases.
Bruce Momjian [Mon, 5 Nov 2001 17:46:39 +0000 (17:46 +0000)]
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
initdb/regression tests pass.
Hiroshi Inoue [Mon, 5 Nov 2001 10:35:14 +0000 (10:35 +0000)]
Preparation for the parameter array handling.
Hiroshi Inoue [Mon, 5 Nov 2001 09:46:17 +0000 (09:46 +0000)]
1) Fix a few bugs about SQLGetData()
reported by Mika Mantyla.
2) Timestamp precision.
3) Separate ODBC3.0 files.
Hiroshi Inoue [Sat, 3 Nov 2001 06:53:50 +0000 (06:53 +0000)]
1) Improve literal handling in parse_statement().
2) Remove some no longer valid comments.
3) Fix an option dialog setting bug.
4) Fix ODBCVER handling errors.