summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-03-19>Added ServerEncodingBruce Momjian
> 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
2002-03-19> I am backing out this patch. Please resubmit with this corrected. Thanks.Bruce Momjian
> > 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
2002-03-19Add psql \dD listing of domains, from Jonathan Eisler.Bruce Momjian
2002-03-19Add DOMAIN support. Includes manual pages and regression tests, fromBruce Momjian
Rod Taylor.
2002-03-19applied patch from Liam StewartDave Cramer
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.
2002-03-19Comment patch:Bruce Momjian
This one better describes the problem. heap.c needs to be updated to include 'Hard coded badness' for that table. -- Rod Taylor
2002-03-18Update for 7.2.1.Bruce Momjian
2002-03-18Fixes bug where query hangs if there is an error in the query, went back toDave Cramer
code before QueryExecutor class was created and copied behaviour
2002-03-16Try to make array_in's behavior a tad less bizarre. Leading whitespaceTom Lane
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.
2002-03-16fixed QueryExecuter to deal with multiple errorsDave Cramer
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
2002-03-15Manually clean up indenting of ecpg lex/yacc files, OK'ed by MichaelBruce Momjian
Meskes. These files are not touched by pgindent so this has to be manually done.
2002-03-15Repair two problems with WAL logging of sequence nextvalI() ops, asTom Lane
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.
2002-03-15patch from Alexey SlynkoDave Cramer
This patch solve problems with arrays in latest development JDBC driver
2002-03-14The attached patch changes ALTER TABLE OWNER to also change theBruce Momjian
ownership of any toast tables that belong to the table that is being operated upon (as suggested by Tom Lane). Neil Conway
2002-03-141) Internal improvements to handle updatable cursors(1st cut).Hiroshi Inoue
2) Fix a bug in SQLColAttribute().
2002-03-13MovePeter Eisentraut
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.
2002-03-12Restructure representation of join alias variables. An explicit JOINTom Lane
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.
2002-03-11More pgsql \? cleanup for Peter E.Bruce Momjian
2002-03-11Correct optional args in psql \? as pointed out by Ian Barwick.Bruce Momjian
2002-03-11Inlined a patch to add the libpq setNoticeProcessor capability toBruce Momjian
libpq++. Ofir Reichenberg
2002-03-11Changed the version numbers, but did not commit the Makefiles.Michael Meskes
2002-03-11Bug fixes for the 2002-03-08 change.Hiroshi Inoue
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.
2002-03-10Fixed two bugs in define command in pgc.lMichael Meskes
2002-03-10Add DEFAULT_INDEX_TYPE == "btree", for clarity.Bruce Momjian
2002-03-10Disable brackets in multi-statement rules, as discussed.Bruce Momjian
2002-03-09Guard against NULL strings in SET key=val constructs.Thomas G. Lockhart
Problem noted by Fernando Nasser.
2002-03-09Added a check for not calling next() before getting objects from the result set,Dave Cramer
moved the check for columnIndex into same call check at the top of all getXXX added appropriate error
2002-03-09Code review for improved-hashing patch. Fix some portability issuesTom Lane
(char != unsigned char, Datum != uint32); make use of new hash code in dynahash hash tables and hash joins.
2002-03-09Here is a small patch that cleans up some error reporting in the JDBC ↵Dave Cramer
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.
2002-03-09Wording improvements to runtime.sgml. Add mention in postgresql.confBruce Momjian
file that SIGHUP or "pg_ctl reload" are required for changes to take affect on a running server.
2002-03-08Improve wording of pg_hba.conf file.Bruce Momjian
2002-03-08Remove compile errors.Hiroshi Inoue
2002-03-081) Implement SQLParamOptions().Hiroshi Inoue
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.
2002-03-08analyze.o need not depend on parser.h.Tom Lane
2002-03-08Remove unnecessary inclusion.Tom Lane
2002-03-08Fix copying/equality-check bugs in GrantStmt and ConstraintsSetStmt,Tom Lane
per reports from Fernando Nasser. Also, rearrange order of declarations in parsenodes.h as suggested by Fernando.
2002-03-08TODO item done:Bruce Momjian
* Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
2002-03-08Add missing colon to getopt() arg.Tom Lane
2002-03-07Add FULL in VACUUM psql completion.Bruce Momjian
2002-03-07Adjust elog() tags so source and regression tests match.Bruce Momjian
2002-03-07Back out psql domain improvements until domain is applied.Bruce Momjian
2002-03-07Back out domain patch until it works properly.Bruce Momjian
2002-03-07Also an small change to the tab-complete feature of psql which allows toBruce Momjian
use tables and views interchangeably. Manuel Sugawara
2002-03-06Fix syntax error introduced by patch.Bruce Momjian
2002-03-06I've attached a patch which implements Bob Jenkin's hash function forBruce Momjian
PostgreSQL. This hash function replaces the one used by hash indexes and the catalog cache. Hash joins use a different, relatively poor-quality hash function, but I'll fix that later. As suggested by Tom Lane, this patch also changes the size of the fixed hash table used by the catalog cache to be a power-of-2 (instead of a prime: I chose 256 instead of 257). This allows the catcache to lookup hash buckets using a simple bitmask. This should improve the performance of the catalog cache slightly, since the previous method (modulo a prime) was slow. In my tests, this improves the performance of hash indexes by between 4% and 8%; the performance when using btree indexes or seqscans is basically unchanged. Neil Conway <neilconway@rogers.com>
2002-03-06Enable ALTER TABLE ADD PRIMARY KEY for pg_dump, for performance reasonsBruce Momjian
so index is not on table during COPY. > > AFAICT, the patch I posted to -patches a little while to enable the > > usage of ALTER TABLE ADD PRIMARY KEY by pg_dump hasn't been applied, nor > > is it in the unapplied patches list. I was under the impression that > > this was in the queue for application -- did it just get lost? Neil Conway <neilconway@rogers.com>
2002-03-06Here is a diff of changes to the psql source code implementing a simpleBruce Momjian
'list domains' command '\dD'. This is the interface component of rbt@zort.ca's domain backend modifications. Jonathan Eisler
2002-03-06Ok. Updated patch attached.Bruce Momjian
- domain.patch -> source patch against pgsql in cvs - drop_domain.sgml and create_domain.sgml -> New doc/src/sgml/ref docs - dominfo.txt -> basic domain related queries I used for testing [ ADDED TO /doc] Enables domains of array elements -> CREATE DOMAIN dom int4[3][2]; Uses a typbasetype column to describe the origin of the domain. Copies data to attnotnull rather than processing in execMain(). Some documentation differences from earlier. If this is approved, I'll start working on pg_dump, and a \dD <domain> option in psql, and regression tests. I don't really feel like doing those until the system table structure settles for pg_type. CHECKS when added, will also be copied to to the table attributes. FK Constraints (if I ever figure out how) will be done similarly. Both will lbe handled by MergeDomainAttributes() which is called shortly before MergeAttributes(). Rod Taylor
2002-03-06Modify ALTER TABLE OWNER to change index ownership; code cleanup.Bruce Momjian
Neil Conway
2002-03-06Add new elog() levels to stored procedure languages. plperl DEBUG hackBruce Momjian
still needed because only removed in 7.4.