aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* I didn't see any further discussion so here is, I hope, a clean fix toBruce Momjian1999-08-01
| | | | | | | configure.in to determine if a system is ELF or not. Note that some of the tests earlier may be redundant but I took the safest route. D'Arcy J.M. Cain
* First step in fixing selectivity-estimation code. eqsel andTom Lane1999-08-01
| | | | | | | | | | neqsel now behave as per my suggestions in pghackers a few days ago. selectivity for < > <= >= should work OK for integral types as well, but still need work for nonintegral types. Since these routines have never actually executed before :-(, this may result in some significant changes in the optimizer's choices of execution plans. Let me know if you see any serious misbehavior. CAUTION: THESE CHANGES REQUIRE INITDB. pg_statistic table has changed.
* Add another ORDER BY to rules test; got tired of it 'failing'Tom Lane1999-08-01
| | | | every time I tweak the optimizer...
* Re-enable pg_upgrade, after adding checks that the sourceTom Lane1999-07-31
| | | | and target databases are of versions it knows about.
* Add comments for attdisbursion field --- NO code change.Tom Lane1999-07-31
|
* Update comments about clause selectivity estimation.Tom Lane1999-07-30
|
* Make usecatupd disabled for normal users, and allow normal users toBruce Momjian1999-07-30
| | | | update temp tables with this setting.
* Further cleanups of indexqual processing: simplify controlTom Lane1999-07-30
| | | | | logic in indxpath.c, avoid generation of redundant indexscan paths for the same relation and index.
* just testing a script...Marc G. Fournier1999-07-30
|
* Remove extra #endifBruce Momjian1999-07-30
|
* Nothing changed, just testing cvslog ...Marc G. Fournier1999-07-30
|
* Fix coredump seen when doing mergejoin between indexed tables,Tom Lane1999-07-30
| | | | | | for example in the regression test database, try select * from tenk1 t1, tenk1 t2 where t1.unique1 = t2.unique2; 6.5 has this same bug ...
* Update comments for create_indexscan_node().Tom Lane1999-07-30
|
* Remove comment after optimization flag.Bruce Momjian1999-07-29
|
* Add support for Case exprs to fix_indxqual_references,Tom Lane1999-07-29
| | | | | | so that Case works in WHERE join clauses. Temporary patch --- this routine is one of many that ought to be changed to use centralized expression-tree- walking logic.
* Add equal() funcs for Case nodes ... amazing we had notTom Lane1999-07-29
| | | | detected this omission before. Miscellaneous other cleanups.
* Allow a_expr not just AexprConst in the right-hand list ofTom Lane1999-07-28
| | | | | IN and NOT IN operators. Rewrite grotty implementation of IN-list parsing ... look Ma, no global variable ...
* Correct bug in best_innerjoin(): it should check all theTom Lane1999-07-27
| | | | | | | rels that the inner path needs to join to, but it was only checking for the first one. Failure could only have been observed with an OR-clause that mentions 3 or more tables, and then only if the bogus path was actually selected as cheapest ...
* My recent optimizer changes caused a different plan toTom Lane1999-07-27
| | | | | be picked for one of the complex joins in rules test ... leading to a different output ordering ...
* First cut at doing LIKE/regex indexing optimization inTom Lane1999-07-27
| | | | | | | | | | | | | | | | | | optimizer rather than parser. This has many advantages, such as not getting fooled by chance uses of operator names ~ and ~~ (the operators are identified by OID now), and not creating useless comparison operations in contexts where the comparisons will not actually be used as indexquals. The new code also recognizes exact-match LIKE and regex patterns, and produces an = indexqual instead of >= and <=. This change does NOT fix the problem with non-ASCII locales: the code still doesn't know how to generate an upper bound indexqual for non-ASCII collation order. But it's no worse than before, just the same deficiency in a different place... Also, dike out loc_restrictinfo fields in Plan nodes. These were doing nothing useful in the absence of 'expensive functions' optimization, and they took a considerable amount of processing to fill in.
* Further work on planning of indexscans. Cleaned up interfacesTom Lane1999-07-25
| | | | | to index_selectivity so that it can be handed an indexqual clause list rather than a bunch of assorted derivative data.
* Remove 'restrictinfojoinid' field from RestrictInfo nodes.Tom Lane1999-07-25
| | | | | | | The only place it was being used was as temporary storage in indxpath.c, and the logic was wrong: the same restrictinfo node could get chosen to carry the info for two different joins. Right fix is to return a second list of unjoined-relids parallel to the list of clause groups.
* Clean up messy clause-selectivity code in clausesel.c; repair bugTom Lane1999-07-24
| | | | | | | | | | | | | | | | | | | | identified by Hiroshi (incorrect cost attributed to OR clauses after multiple passes through set_rest_selec()). I think the code was trying to allow selectivities of OR subclauses to be passed in from outside, but noplace was actually passing any useful data, and set_rest_selec() was passing wrong data. Restructure representation of "indexqual" in IndexPath nodes so that it is the same as for indxqual in completed IndexScan nodes: namely, a toplevel list with an entry for each pass of the index scan, having sublists that are implicitly-ANDed index qual conditions for that pass. You don't want to know what the old representation was :-( Improve documentation of OR-clause indexscan functions. Remove useless 'notclause' field from RestrictInfo nodes. (This might force an initdb for anyone who has stored rules containing RestrictInfos, but I do not think that RestrictInfo ever appears in completed plans.)
* Minor code beautification, extensive improvement ofTom Lane1999-07-23
| | | | | comments. This file was full of obsolete and just plain wrong commentary...
* Exit cleanups I made yesterday caused pq_close() to beTom Lane1999-07-23
| | | | | | invoked during exit from a standalone backend, leading to core dump. This is the cause of the recently reported initdb-time crash :-(. Sorry folks...
* Alpha spinlock fix from Uncle George <gatgul@voicenet.com>Bruce Momjian1999-07-22
|
* Plug several holes in backend's ability to cope withTom Lane1999-07-22
| | | | unexpected loss of connection to frontend.
* While I was running some tests in psql, trying to figure out how to changeBruce Momjian1999-07-20
| | | | | | | | | | | | | | the query string to handle any length, I discovered that under certain conditions, psql will core dump when handling long strings. Thus, the patch. It was caused by a buffer overrun, probably not noticeable in a lot of cases, but pretty noticeable in mine. Problem was caused by the fact that the length check is only performed after the check for a ; to get the end of the query and execute. Cheers... MikeA
* Reverse out cache changes that are not ready yet.Bruce Momjian1999-07-20
|
* Use -ieee alpha flag for gcc and egcs only.Bruce Momjian1999-07-20
|
* autoconfBruce Momjian1999-07-20
|
* Re-add Makefile.Bruce Momjian1999-07-20
|
* Move -ieee to adt Makefile, and add CPU Makefile variable.Bruce Momjian1999-07-20
|
* Complain about INSERT ... SELECT ... ORDER BY, which we do notTom Lane1999-07-20
| | | | | | support, but which the grammar was accepting. Also, fix several bugs having to do with failure to copy fields up from a subselect to a select or insert node.
* psql fix.Bruce Momjian1999-07-19
|
* linux/sparc cleanupBruce Momjian1999-07-19
|
* Fix for linux/sparc.Bruce Momjian1999-07-19
|
* Cleanup of patch just applied.Bruce Momjian1999-07-19
|
* Set the application name, used for parsing readline's .inputrc -- dzBruce Momjian1999-07-19
| | | | Massimo
* Fix #if if.Bruce Momjian1999-07-19
|
* *** empty log message ***Michael Meskes1999-07-19
|
* Install new alignment code to use MAXALIGN rather than DOUBLEALIGN whereBruce Momjian1999-07-19
| | | | approproate.
* Enable WIN32 compilation of libpq.Bruce Momjian1999-07-19
|
* Win32 cleanupBruce Momjian1999-07-19
|
* autoconfBruce Momjian1999-07-19
|
* Re-add getopt.h check, remove NT-specific tests for it.Bruce Momjian1999-07-19
|
* Clean up gcc warning about unused static decl.Tom Lane1999-07-19
|
* autoconfBruce Momjian1999-07-19
|
* Remove getopt configure check.Bruce Momjian1999-07-19
|
* Put back mistakenly removed configure test for HAVE_NETINET_IN_H.Tom Lane1999-07-19
|