aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* The attached patch cleans up the implementation of the TRUNCATE command;Bruce Momjian2002-03-19
| | | | | | | | | | | | in the current code, the authentication logic (check user, check the relation we're operating on, etc) is done in tcop/utility.c, whereas the actual TRUNCATE command in done in TruncateRelation() in commands/createinh.c (which is really just a wrapper over heap_truncate() in catalog/heap.c). This patch moves the authentication logic into TruncateRelation(), as well as making some minor code cleanups. Neil Conway
* Fix for trigger handling:Bruce Momjian2002-03-19
| | | | | | | | * We should not even consider checking the row if it is no longer * valid since it was either deleted (doesn't matter) or updated * (in which case it'll be checked with its final values). Stephan Szabo
* >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
* Add psql \dD listing of domains, from Jonathan Eisler.Bruce Momjian2002-03-19
|
* Add DOMAIN support. Includes manual pages and regression tests, fromBruce Momjian2002-03-19
| | | | Rod Taylor.
* 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.
* Comment patch:Bruce Momjian2002-03-19
| | | | | | | | | This one better describes the problem. heap.c needs to be updated to include 'Hard coded badness' for that table. -- Rod Taylor
* Improve wording of bug fix:Bruce Momjian2002-03-19
| | | | Ensure that sequence counters do not go backwards after a crash
* Update for 7.2.1.Bruce Momjian2002-03-18
|
* Update FAQ.Bruce Momjian2002-03-18
|
* 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
* Improve documentation about array I/O representation.Tom Lane2002-03-17
|
* Try to make array_in's behavior a tad less bizarre. Leading whitespaceTom Lane2002-03-16
| | | | | | | | | before a data item is now always skipped, rather than only sometimes. Backslashes not within double-quoted text are treated reasonably, as are multiple sequences of quoted text in a single data item. But it still seems rather prone to misbehavior if the input is not completely syntactically correct --- in particular, garbage following a right brace will be ignored.
* 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.
* Repair two problems with WAL logging of sequence nextvalI() ops, asTom Lane2002-03-15
| | | | | | per recent pghackers discussion: force a new WAL record at first nextval after a checkpoint, and ensure that xlog is flushed to disk if a nextval record is the only thing emitted by a transaction.
* Back out EXCEPT/DIFFERENCE patch. Seems I forgot the details of this.Bruce Momjian2002-03-15
|
* Fix for docs from Patrick Welche:Bruce Momjian2002-03-15
| | | | | | | | | | | | | ! DIFFERENCE (&minus; or &setmn;): builds the set difference of two tables. Let <classname>R</classname> and <classname>S</classname> again be two tables with the same arity. <classname>R</classname> - <classname>S</classname> --- 488,494 ---- <listitem> <para> ! EXCEPT (&minus; or &setmn;): builds the set difference of
* patch from Alexey SlynkoDave Cramer2002-03-15
| | | | This patch solve problems with arrays in latest development JDBC driver
* The attached patch changes ALTER TABLE OWNER to also change theBruce Momjian2002-03-14
| | | | | | | ownership of any toast tables that belong to the table that is being operated upon (as suggested by Tom Lane). Neil Conway
* 1) Internal improvements to handle updatable cursors(1st cut).Hiroshi Inoue2002-03-14
| | | | 2) Fix a bug in SQLColAttribute().
* MovePeter Eisentraut2002-03-13
| | | | | | | | src/GNUmakefile.in to src/Makefile and src/backend/port/Makefile.in to src/backend/port/Makefile All configure substitutions are now done in Makefile.global.
* Change "head -1" to "sort q" as suggested for POSIX compatibility.Bruce Momjian2002-03-12
|
* Restructure representation of join alias variables. An explicit JOINTom Lane2002-03-12
| | | | | | | | | | | | | | | now has an RTE of its own, and references to its outputs now are Vars referencing the JOIN RTE, rather than CASE-expressions. This allows reverse-listing in ruleutils.c to use the correct alias easily, rather than painfully reverse-engineering the alias namespace as it used to do. Also, nested FULL JOINs work correctly, because the result of the inner joins are simple Vars that the planner can cope with. This fixes a bug reported a couple times now, notably by Tatsuo on 18-Nov-01. The alias Vars are expanded into COALESCE expressions where needed at the very end of planning, rather than during parsing. Also, beginnings of support for showing plan qualifier expressions in EXPLAIN. There are probably still cases that need work. initdb forced due to change of stored-rule representation.
* More pgsql \? cleanup for Peter E.Bruce Momjian2002-03-11
|
* Correct optional args in psql \? as pointed out by Ian Barwick.Bruce Momjian2002-03-11
|
* Pleas apply it for 7.2.1 and current CVS.Bruce Momjian2002-03-11
| | | | | | Patch fixes using lc.lang instead of lc.lc_ctype. Teodor Sigaev
* Mention time() and interval() are also changed in 7.2.Bruce Momjian2002-03-11
|
* 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.
* Fix markupPeter Eisentraut2002-03-11
|
* Uppercase class selectors, to work with browsers that follow the standards.Peter Eisentraut2002-03-11
|
* Back out this for Peter:Bruce Momjian2002-03-11
| | | | | | | | | > This simple patch fixes broken Makefile, broken ApplySnapshot and > makes all utilities honour --verbose command line option. > > -- > Yours, Alexey V. Borzov, Webmaster of RDW.ru >
* Fixed two bugs in define command in pgc.lMichael Meskes2002-03-10
|
* Update and remove items:Bruce Momjian2002-03-10
| | | | | | | < * Remove brackets as multi-statement rule grouping, must use parens (Bruce) > * -Remove brackets as multi-statement rule grouping, must use parens (Bruce) 458d457 < * Remove USING clause from pg_get_indexdef() if index is btree (Bruce)
* Add DEFAULT_INDEX_TYPE == "btree", for clarity.Bruce Momjian2002-03-10
|
* Disable brackets in multi-statement rules, as discussed.Bruce Momjian2002-03-10
|
* Guard against NULL strings in SET key=val constructs.Thomas G. Lockhart2002-03-09
| | | | Problem noted by Fernando Nasser.
* 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
* Code review for improved-hashing patch. Fix some portability issuesTom Lane2002-03-09
| | | | | (char != unsigned char, Datum != uint32); make use of new hash code in dynahash hash tables and hash joins.
* 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.
* Wording improvements to runtime.sgml. Add mention in postgresql.confBruce Momjian2002-03-09
| | | | | file that SIGHUP or "pg_ctl reload" are required for changes to take affect on a running server.
* Improve wording of pg_hba.conf file.Bruce Momjian2002-03-08
|
* Remove compile errors.Hiroshi Inoue2002-03-08
|
* 1) Implement SQLParamOptions().Hiroshi Inoue2002-03-08
| | | | | | | | | | | | | 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.
* analyze.o need not depend on parser.h.Tom Lane2002-03-08
|
* Remove unnecessary inclusion.Tom Lane2002-03-08
|
* Fix copying/equality-check bugs in GrantStmt and ConstraintsSetStmt,Tom Lane2002-03-08
| | | | | per reports from Fernando Nasser. Also, rearrange order of declarations in parsenodes.h as suggested by Fernando.