Commit Graph

547 Commits (fdf218f1d52b2c93145f16b28b8374703ae4ef19)

Author SHA1 Message Date
Tom Lane 3a94e789f5 Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias. 25 years ago
Tom Lane ed5003c584 First cut at full support for OUTER JOINs. There are still a few loose 25 years ago
Tom Lane 37168b8da4 Clean up handling of variable-free qual clauses. System now does the 25 years ago
Tom Lane badce86a2c First stage of reclaiming memory in executor by resetting short-term 26 years ago
Tom Lane 1ee26b7764 Reimplement nodeMaterial to use a temporary BufFile (or even memory, if the 26 years ago
Bruce Momjian df43800fc8 Clean up #include's. 26 years ago
Bruce Momjian 20ad43b576 Mark functions as static and ifdef NOT_USED as appropriate. 26 years ago
Tom Lane 1c5b902018 Fix problem in which sloppily-coded test in ExecInitIndexScan would 26 years ago
Bruce Momjian 52f77df613 Ye-old pgindent run. Same 4-space tabs. 26 years ago
Tom Lane 1c72a8a37a Fix extremely nasty little bug observed when a sub-SELECT appears in 26 years ago
Tom Lane 1d5e7a6f46 Repair logic flaw in cost estimator: cost_nestloop() was estimating CPU 26 years ago
Tom Lane 3cbcb78a3d Plug some more memory leaks in the planner. It still leaks like a sieve, 26 years ago
Tom Lane b1577a7c78 New cost model for planning, incorporating a penalty for random page 26 years ago
Tom Lane d8733ce674 Repair planning bugs caused by my misguided removal of restrictinfo link 26 years ago
Tom Lane d24ef0d08f Make EXPLAIN results for Append, Group, Agg, Unique nodes more plausible. 26 years ago
Tom Lane dd979f66be Redesign DISTINCT ON as discussed in pgsql-sql 1/25/00: syntax is now 26 years ago
Bruce Momjian 5c25d60244 Add: 26 years ago
Tom Lane 8449df8a67 First cut at unifying regular selectivity estimation with indexscan 26 years ago
Peter Eisentraut 1cd4c14116 Fixed all elog related warnings, as well as a few others. 26 years ago
Tom Lane 166b5c1def Another round of planner/optimizer work. This is just restructuring and 26 years ago
Bruce Momjian 6f9ff92cc0 Tid access method feature from Hiroshi Inoue, Inoue@tpf.co.jp 26 years ago
Tom Lane e8140adb10 Further sort-order twiddling in optimizer: be smart about 26 years ago
Tom Lane 78114cd4d4 Further planner/optimizer cleanups. Move all set_tlist_references 26 years ago
Tom Lane db436adf76 Major revision of sort-node handling: push knowledge of query 26 years ago
Tom Lane abee4c299f Remove extraneous SeqScan node that make_noname was inserting 26 years ago
Tom Lane 91f82de48a Assign sort keys properly when there are duplicate entries in 26 years ago
Tom Lane e6381966c1 Major planner/optimizer revision: get rid of PathOrder node type, 26 years ago
Tom Lane 8f9f6e51a8 Clean up optimizer's handling of indexscan quals that need to be 26 years ago
Tom Lane 4a1c5cb953 Revise create_nestloop_node's handling of inner indexscan to 26 years ago
Bruce Momjian 158fd5f1c4 > > Prevent sorting if result is already sorted 26 years ago
Tom Lane 10d6d411a8 Rewrite fix_indxqual_references, which was entirely bogus for 26 years ago
Tom Lane 161be69544 Update comments for create_indexscan_node(). 27 years ago
Tom Lane ecbfafbe0e Add support for Case exprs to fix_indxqual_references, 27 years ago
Tom Lane 9e7e29e6c9 First cut at doing LIKE/regex indexing optimization in 27 years ago
Tom Lane ac4913a0dd Clean up messy clause-selectivity code in clausesel.c; repair bug 27 years ago
Bruce Momjian 3406901a29 Move some system includes into c.h, and remove duplicates. 27 years ago
Bruce Momjian a71802e12e Final cleanup. 27 years ago
Bruce Momjian a9591ce66a Change #include's to use <> and "" as appropriate. 27 years ago
Bruce Momjian 2e6b1e63a3 Remove unused #includes in *.c files. 27 years ago
Bruce Momjian 4b2c2850bf Clean up #include in /include directory. Add scripts for checking includes. 27 years ago
Bruce Momjian fcff1cdf4e Another pgindent run. Sorry folks. 27 years ago
Bruce Momjian 07842084fe pgindent run over code. 27 years ago
Tom Lane 353d36f979 Remove no-longer-used fields in Hash and HashJoin nodes. 27 years ago
Bruce Momjian 4853495e03 Change error messages to oids come out as %u and not %d. Change has no 27 years ago
Tom Lane 5729c3503d fix_indxqual_references didn't cope with ArrayRef nodes, 27 years ago
Tom Lane 605d84941d Clean up cost_sort some more: most callers were double-counting 27 years ago
Tom Lane 17dbeebb5f Fill in reasonable-looking cost estimates in inserted nodes. 27 years ago
Tom Lane b204d10c79 Executor no longer cares about mergejoinop, mergerightorder, mergeleftorder, 27 years ago
Marc G. Fournier 8c3e8a8a0e From: Tatsuo Ishii <t-ishii@sra.co.jp> 27 years ago
Tom Lane 944d3c395e Replace non-idiomatic nconc(x, lcons(y, NIL)) with lappend(x, y). 27 years ago