aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
Commit message (Collapse)AuthorAge
* 1) Fix a bug about reporting varchar info thanks to Aceto.Hiroshi Inoue2002-04-15
| | | | | 2) Introcuced 3 drivers. 3) The version is now 7.02.0001.
* - Synced preproc.y with gram.yMichael Meskes2002-04-14
| | | | - Fixed one bug in structure handling resulting in using sizeof indicator instead of variable.
* 1) Fix a bug in declare/fetch mode.Hiroshi Inoue2002-04-12
| | | | 2) Suppress some error logs for the request to other drivers.
* Restructure representation of aggregate functions so that they have pg_procTom Lane2002-04-11
| | | | | | | | | | entries, per pghackers discussion. This fixes aggregates to live in namespaces, and also simplifies/speeds up lookup in parse_func.c. Also, add a 'proimplicit' flag to pg_proc that controls whether a type coercion function may be invoked implicitly, or only explicitly. The current settings of these flags are more permissive than I would like, but we will need to debate and refine the behavior; for now, I avoided breaking regression tests as much as I could.
* Prevent an infinite loop of error reporting.Hiroshi Inoue2002-04-10
|
* Let psqlodbc30 be compilable without /D DRIVER_CURSOR_IMPLEMENT.Hiroshi Inoue2002-04-09
|
* Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f.Tatsuo Ishii2002-04-08
| | | | | | This is necessary for mulibyte character sequences. See "[HACKERS] PQescapeBytea is not multibyte aware" thread posted around 2002/04/05 for more details.
* When a macro is replaced by the preprocessor, pgc.l reaches a end ofBruce Momjian2002-04-05
| | | | | | | | | | | | | | | file, which is not the actual end of the file. One side effect of that is that if you are i n a ifdef block, you get a wrong error telling you that a endif is missing. This patch corrects pgc.l and also adds a test of this problem to test1.pgc. To convince you apply the patch to test1.pgc first then try to compile the test the n apply the patch to pgc.l. The patch moves the test of the scope of an ifdef block to the end of the file b eeing parsed, including all includes files, ... . Nicolas Bazin
* Fix a bug in SQLError().Hiroshi Inoue2002-04-04
|
* Fix a bug in multibyte_strchr().Hiroshi Inoue2002-04-04
|
* Fix compiler warnings.Hiroshi Inoue2002-04-02
|
* [HACKERS] Proposed patch for ODBC driver w/ C-a-n-c-e-lHiroshi Inoue2002-04-02
| | | | | | | | | | 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 ...
* Removed error message that was incorectly being issued. This fixes a ↵Barry Lind2002-04-02
| | | | problem reported a few months ago where a select in a rule was causing an insert statement to return a result set which the code was explicitly prohibiting.
* 1) Add rollback functionality to updatable cursors.Hiroshi Inoue2002-04-01
| | | | | | | 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.
* Fix ODBC warnings about missing parens and pg_ismb not used (addedBruce Momjian2002-03-29
| | | | #ifdef NOT_USED).
* Fox for old python PyMem_DEL, was PyMem_Del,Bruce Momjian2002-03-29
|
* Fix '#' commant to be proper C comment.Bruce Momjian2002-03-29
|
* [2002-03-28]Hiroshi Inoue2002-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.
* applied patch from Liam Stewart fixing a message in the properties fileBarry Lind2002-03-27
| | | | | also fixed a NPE when calling the next() method on a result set after the connection or resultset has been closed. (bug reported by Hans Deragon)
* applied patch submitted by Florian (mailing-list@urbanet.ch) for BigDecimal ↵Barry Lind2002-03-26
| | | | support
* Changed QueryExecutor.java to correctly read responses from the backend.Barry Lind2002-03-26
| | | | | Fixed NPE when database name was not passed on the jdbc connection URL Fixed Connection.isClosed() to not hit the DB for every call
* Further changes following discussion on INTERFACES mailing list:D'Arcy J.M. Cain2002-03-26
| | | | | - Use PyObject_Del() rather than macro version - Check version and drop back to PyMem_Del() for older systems.
* Fix for ODBC compile warnings.Bruce Momjian2002-03-25
|
* Indenting #if commands is not portable, is it?Tom Lane2002-03-24
|
* Fix minor syntax error.Tom Lane2002-03-21
|
* Added typedef patches and a new option '-c' to automatically create C ↵Michael Meskes2002-03-21
| | | | typedefs from SQL ones.
* Two versions of QueryExecutor, currently only version 2 works 100%Dave Cramer2002-03-21
| | | | | | | | these versions adhere to the backend protocol better than previous version fixes problem when an error occurs on the backend, and the connection is still used previous versions were throwing an exception half way through the protocol, leaving it indeterminate. also removes empty query code, should speed things up a bit
* modifications to the way the protocol is handled to be consistent withDave Cramer2002-03-21
| | | | | | QueryExecutor. This includes: 1) only exit after we receive a 'Z' packet 2) append error messages to a buffer and throw the exception at the end
* Part of Anders Bengtsson's patch to clean up Connection.javaDave Cramer2002-03-21
|
* Applied Anders patch to move the startup code out of Connection into ↵Dave Cramer2002-03-21
| | | | | | | | StartupPacket * Introduces a new class, StartupPacket. * Moves a lot of constants from Connection to StartupPacket. * Makes two instance variables in Connection into locals.
* Just one more test case.Michael Meskes2002-03-20
|
* PyGreSQL causes a segfault when used with a Python executable that wasD'Arcy J.M. Cain2002-03-20
| | | | | compiled with --with-pymalloc. This change fixes that. Thanks to Dave Wallace <dwallace@udel.edu>
* Bump version number to match tree.D'Arcy J.M. Cain2002-03-19
|
* Fix name in comments and add info about this module's place in PyGreSQL.D'Arcy J.M. Cain2002-03-19
|
* Add missing trailing semicolons to ecpg rules.Bruce Momjian2002-03-19
| | | | Neil Conway
* >Added ServerEncodingBruce Momjian2002-03-19
| | | | | | | | | | | | | | | | | > Korean (JOHAB), Thai (WIN874), > Vietnamese (TCVN), Arabic (WIN1256) > >Added ClientEncoding > Simplified Chinese (GBK), Korean (UHC) > >Add PsqlODBC and document ...etc patch. "JDBC patch" is delivered, too. :-) Eiji Tokuya
* > I am backing out this patch. Please resubmit with this corrected. Thanks.Bruce Momjian2002-03-19
| | | | | | | | | | | | | | | | | > > I am running Python 1.5. Therein lies the problem... :) Since it appears you have the requirement of supporting old python versions, attached is just the pgdb.py part of the patch (with a fix for DateTime handling). It has the same functionality but certainly won't be quite as fast. Given the absence of _PyString_Join in python1.5, it's a pain to get the C variants working for all versions. The pgdb.py patch does leaves the hooks in, should someone wish to do the optimization at a later point. Elliot Lee
* applied patch from Liam StewartDave Cramer2002-03-19
| | | | | | | If one is trying to compile a JDBC 1 driver and junit.jar is in the CLASSPATH, then the build fails as ant tries to build the JDBC 2 test classes. This patch fixes this problem by excluding the jdbc 2 files unless the jdk1.2+ property is set.
* Fixes bug where query hangs if there is an error in the query, went back toDave Cramer2002-03-18
| | | | code before QueryExecutor class was created and copied behaviour
* fixed QueryExecuter to deal with multiple errorsDave Cramer2002-03-16
| | | | | | | | previously it was throwing a SQLException as soon as the error message was received from the backend. This did not allow the protocol to finish properly now, simply collects error messages from the backend until the query is done and throws exception at the end Also added setLogLevel to Driver.java, and made the log levels public
* Manually clean up indenting of ecpg lex/yacc files, OK'ed by MichaelBruce Momjian2002-03-15
| | | | | Meskes. These files are not touched by pgindent so this has to be manually done.
* patch from Alexey SlynkoDave Cramer2002-03-15
| | | | This patch solve problems with arrays in latest development JDBC driver
* 1) Internal improvements to handle updatable cursors(1st cut).Hiroshi Inoue2002-03-14
| | | | 2) Fix a bug in SQLColAttribute().
* Inlined a patch to add the libpq setNoticeProcessor capability toBruce Momjian2002-03-11
| | | | | | libpq++. Ofir Reichenberg
* Changed the version numbers, but did not commit the Makefiles.Michael Meskes2002-03-11
|
* Bug fixes for the 2002-03-08 change.Hiroshi Inoue2002-03-11
| | | | | | | | | | | 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.
* Fixed two bugs in define command in pgc.lMichael Meskes2002-03-10
|
* Disable brackets in multi-statement rules, as discussed.Bruce Momjian2002-03-10
|
* Added a check for not calling next() before getting objects from the result set,Dave Cramer2002-03-09
| | | | | | moved the check for columnIndex into same call check at the top of all getXXX added appropriate error
* Here is a small patch that cleans up some error reporting in the JDBC ↵Dave Cramer2002-03-09
| | | | driver. PSQLExceptions are thrown instead of SQLExceptions and if a warning is received while waiting for the backend secret key, that warning is chained to the new Connection object instead of generating an exception. A couple new error messages have been added.