aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* Remove async TODO.detail file.Bruce Momjian2002-03-08
|
* Update TODO items that are completed.Bruce Momjian2002-03-08
|
* TODO item done:Bruce Momjian2002-03-08
| | | | * Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
* Mark as done:Bruce Momjian2002-03-08
| | | | > * -Change DEBUG startup tag to LOG (Bruce)
* AddBruce Momjian2002-03-08
| | | | > * Prevent aggregates from being used in rule WHERE clauses
* Add missing colon to getopt() arg.Tom Lane2002-03-08
|
* Add FULL in VACUUM psql completion.Bruce Momjian2002-03-07
|
* Adjust elog() tags so source and regression tests match.Bruce Momjian2002-03-07
|
* Back out psql domain improvements until domain is applied.Bruce Momjian2002-03-07
|
* Back out domain patch until it works properly.Bruce Momjian2002-03-07
|
* Also an small change to the tab-complete feature of psql which allows toBruce Momjian2002-03-07
| | | | | | use tables and views interchangeably. Manuel Sugawara
* Fix syntax error introduced by patch.Bruce Momjian2002-03-06
|
* I've attached a patch which implements Bob Jenkin's hash function forBruce Momjian2002-03-06
| | | | | | | | | | | | | | | | | | | 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>
* Enable ALTER TABLE ADD PRIMARY KEY for pg_dump, for performance reasonsBruce Momjian2002-03-06
| | | | | | | | | | | 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>
* alter table doc cleanups.Bruce Momjian2002-03-06
| | | | Neil Conway
* This simple patch fixes broken Makefile, broken ApplySnapshot andBruce Momjian2002-03-06
| | | | | | | makes all utilities honour --verbose command line option. -- Yours, Alexey V. Borzov, Webmaster of RDW.ru
* Here is a diff of changes to the psql source code implementing a simpleBruce Momjian2002-03-06
| | | | | | | 'list domains' command '\dD'. This is the interface component of rbt@zort.ca's domain backend modifications. Jonathan Eisler
* Ok. Updated patch attached.Bruce Momjian2002-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Modify ALTER TABLE OWNER to change index ownership; code cleanup.Bruce Momjian2002-03-06
| | | | Neil Conway
* Update docs for new stored procedure error levels.Bruce Momjian2002-03-06
|
* Add new elog() levels to stored procedure languages. plperl DEBUG hackBruce Momjian2002-03-06
| | | | still needed because only removed in 7.4.
* Add libpgeasy example file.Bruce Momjian2002-03-06
|
* Synced parser with backend.Michael Meskes2002-03-06
|
* Update reference pages for new INFO, NOTICE, WARNING elog() levels.Bruce Momjian2002-03-06
|