summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/connection.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove all traces of the ODBC driver, which is now on GBorg as the psqlodbcMarc G. Fournier2002-08-221-359/+0
| | | | project ...
* Make NAMEDATALEN changeable at compile time.Hiroshi Inoue2002-07-111-2/+2
|
* 1) Fix a bug *double error message*.Hiroshi Inoue2002-06-121-1/+1
| | | | | 2) Fix a bug *passowrd prompt in case of md5 authentication*. 3) Improve the DSN setup dialog.
* Add *Int8 As* option.Hiroshi Inoue2002-06-061-0/+4
|
* 1) Support Keyset Driven driver cursors.Hiroshi Inoue2002-05-221-6/+12
| | | | | | | | | | 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.
* [HACKERS] Proposed patch for ODBC driver w/ C-a-n-c-e-lHiroshi Inoue2002-04-021-0/+19
| | | | | | | | | | 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 ...
* 1) Add rollback functionality to updatable cursors.Hiroshi Inoue2002-04-011-1/+3
| | | | | | | 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.
* [2002-03-28]Hiroshi Inoue2002-03-281-0/+6
| | | | | | | | | | 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.
* 1) Internal improvements to handle updatable cursors(1st cut).Hiroshi Inoue2002-03-141-1/+4
| | | | 2) Fix a bug in SQLColAttribute().
* 1) Implement SQLParamOptions().Hiroshi Inoue2002-03-081-2/+6
| | | | | | | | | | | | | 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.
* Add files for Unicode support.Hiroshi Inoue2002-03-011-0/+1
|
* The version is now 7.01.0010.Hiroshi Inoue2002-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | 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.
* New pgindent run with fixes suggested by Tom. Patch manually reviewed,Bruce Momjian2001-11-051-1/+1
| | | | initdb/regression tests pass.
* Another pgindent run. Fixes enum indenting, and improves #endifBruce Momjian2001-10-281-48/+48
| | | | spacing. Also adds space for one-line comments.
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-251-51/+51
| | | | tests pass.
* Provide some initial support for building the ODBC driver forPeter Eisentraut2001-09-221-10/+0
| | | | | | | | an already installed iODBC or unixODBC driver manager. In particular, use the include files provided by the driver manager over our own, and use the odbcinst library of the driver manager rather than gpps.c. Migrate portability sections common to several files into psqlodbc.h.
* 1) Avoid an overflow of connection string for Access(Microsoft Jet).Hiroshi Inoue2001-09-211-0/+2
| | | | | 2) Change to retry lower version in case of "Unsupported frontend procotol".
* 1) Fix SQLForeignKeys() in multibyte mode.Hiroshi Inoue2001-09-101-0/+4
| | | | | | | | 2) Fix a bug with NUMERIC scale in case of Parse statement option. 3) Remove a no longer needed loop in CC_send_query(). Hiroshi Inoue
* Improve declare/fetch mode a little.Hiroshi Inoue2001-09-081-0/+1
| | | | | | Add a new DSN option for PREPARE hadling. Hiroshi Inoue
* 1) Most driver options could be set per DSN.Hiroshi Inoue2001-09-071-0/+1
| | | | | | | | 2) Keep FE/BE protocol more precisely. 3) Improve procedure calls. 4) A trial to avoid PREMATURE execution(#ifdef'd now). Hiroshi Inoue
* Rename config.h to pg_config.h and os.h to pg_config_os.h, fix a number ofPeter Eisentraut2001-08-241-6/+2
| | | | places that were including the wrong files.
* Add SCM_CREDS to get owner of unix-domain socket on BSD-like systems.Bruce Momjian2001-08-211-0/+1
|
* 1) Change all internal SQL function calls fromHiroshi Inoue2001-08-181-0/+1
| | | | | | | | SQLxxxx() to PGAPI_xxxx(). 2) Handle an escaped date/time format as a parameter. 3) Improve the tuple allocation a little. 4) The preparation of ODBC 3.0 a little. 5) Updatable cursors(may be deprecated before long).
* Use MD5 for wire protocol encryption for >= 7.2 client/server.Bruce Momjian2001-08-151-0/+1
| | | | | | | Allow pg_shadow to be MD5 encrypted. Add ENCRYPTED/UNENCRYPTED option to CREATE/ALTER user. Add password_encryption postgresql.conf option. Update wire protocol version to 2.1.
* Remove OLD_FILE_NAMING code. No longer used.Bruce Momjian2001-05-301-0/+3
|
* Get rid of the following size limit.Hiroshi Inoue2001-05-251-1/+1
| | | | | 1) Query size limit(was 65536) for >=7.0 servers. 2) Text size limit(was 8190) for 7.1 servers.
* ODBC source code cleanup. Mostly alignment of #define constants.Bruce Momjian2001-03-271-51/+50
|
* pgindent run. Make it all clean.Bruce Momjian2001-03-221-109/+120
|
* Back out all ODBC formatting changes, and back out removal of <6.4Bruce Momjian2001-02-141-125/+134
| | | | | | protocol. I have left in Tom's SOCK_get_next_byte() fix, and the new win32.mak file addition. I have also left in the 'X' connection close fix.
* More cleanups.Bruce Momjian2001-02-111-6/+6
|
* Include file alignment fixes.Bruce Momjian2001-02-111-29/+29
|
* Source alignment cleanups.Bruce Momjian2001-02-111-18/+18
|
* More cleanup.Bruce Momjian2001-02-111-41/+41
|
* Run pgindent over ODBC source. We couldn't do this years ago because weBruce Momjian2001-02-101-105/+116
| | | | weren't the master source. We are now, and it really needs it.
* CleanupBruce Momjian2001-02-101-21/+1
|
* Improved version handling introduced by Dave Page.Hiroshi Inoue2001-02-061-0/+38
| | | | | | | | | | | | | | | | | | | | | | | The driver version is 07.01.0002 now. 1) initialized pg_version by DSN's protocol info so that we could always use pg_version info once a connection is established (pg_version() didn't exist before 6.4). PROTOCOL_XX() macros are removed(except from connection.[ch]). 2) provided a few macros to encapsulate connection's version info and replaced existent comparison stuff by those macros. 3) change SQLTables() so that 7.1 servers could show views. In addtion, the following patch from Dave Page is applied. This patch fixes a bug in SQLGetInfo for SQL_DBMS_VER which corrupted the driver version string. The driver version number has also been incremented to 07.01.0002. Regards, Dave. <<odbc.diff>>
* odbc1.diff changes the text on the Protocol Radio buttons on the driverBruce Momjian2001-01-261-0/+3
| | | | | | | | | | | | | | dialogue from '6.4/6.5' to '6.5+' and removes some C++ comments from resource.h (which VC++ insists on putting there). odbc2.diff adds code to query the PostgreSQL version upon connection. This is then used to determine what values to return for from SQLGetInfo for SQL_DBMS_VER, SQL_MAX_ROW_SIZE, SQL_MAX_STATEMENT_LEN, SQL_OJ_CAPABILITIES and SQL_OUTER_JOINS. The version string as returned by SELECT vERSION() (as a char array) and the major.minor version number (as a flost) have been added to the ConnectionClass structure. Dave Page
* Rename readonly to onlyread in odbc. Use varargs properly.Bruce Momjian1999-11-301-2/+2
|
* Mini Update #2 -- final fixes for buffer lengths, null buffers, truncationByron Nikolaidis1999-01-051-0/+2
|
* Mini update to fix SQLGetInfo to work properly (truncation, NULL)Byron Nikolaidis1998-12-311-0/+1
|
* Update for version 6-40-0002 and re-merge Thomas' changes.Byron Nikolaidis1998-12-291-23/+25
|
* Update for version 06-40-0001Byron Nikolaidis1998-11-111-4/+8
|
* Update source code to Byron's v6.30.0250 sources plus minor cleanupThomas G. Lockhart1998-10-061-3/+11
| | | | | | | | | to get rid of unused variables. Get clean compile on Linux (Thomas and Gerald). Implement autoconf/configure for standalone builds and use the existing autoconf/configure system when in the Postgres source tree. Code tests and functions with ApplixWare-4.4.1beta on a Linux box. Changes should be backward compatible with WIN32 but still needs testing.
* Version 06-30-0248Byron Nikolaidis1998-07-221-2/+52
|
* Cleanup use of 16 that should be NAMEDATALEN.Bruce Momjian1998-07-201-1/+1
|
* Update to v.0246Byron Nikolaidis1998-06-161-0/+2
|
* Update odbc driver to current version V.0244Byron Nikolaidis1998-06-031-44/+53
|
* Replace old PostODBC driver with new one...Marc G. Fournier1998-04-131-0/+183
This one is based on an older PostODBC driver, rewritten and maintained by InsightDist(?)