Commit Graph

86 Commits (227a404cf4badc5b245a17c674658605d8aa9397)

Author SHA1 Message Date
Tom Lane de97072e3c Allow merge and hash joins to occur on arbitrary expressions (anything not 23 years ago
Tom Lane d4ce5a4f4c Revise cost_qual_eval() to compute both startup (one-time) and per-tuple 23 years ago
Tom Lane a60f9db508 Fix inherited UPDATE for cases where child column numbering doesn't 23 years ago
Tom Lane 2d8d66628a Clean up plantree representation of SubPlan-s --- SubLink does not appear 23 years ago
Tom Lane a0bf885f9e Phase 2 of read-only-plans project: restructure expression-tree nodes 23 years ago
Tom Lane f893ee271f Remove unused constisset and constiscast fields of Const nodes. Clean 23 years ago
Tom Lane b26dfb9522 Extend pg_cast castimplicit column to a three-way value; this allows us 23 years ago
Tom Lane 6fdc44be71 Tweak querytree-dependency-extraction code so that columns of tables 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Bruce Momjian 97ac103289 Remove sys/types.h in files that include postgres.h, and hence c.h, 23 years ago
Tom Lane 0201dac1c3 Push down outer qualification clauses into UNION and INTERSECT subqueries. 23 years ago
Tom Lane 38bb77a5d1 ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne, 23 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 23 years ago
Tom Lane 108a0ec87d A little further progress on schemas: push down RangeVars into 24 years ago
Tom Lane 6eeb95f0f5 Restructure representation of join alias variables. An explicit JOIN 24 years ago
Tom Lane 944671820f Previous patch to mark UNION outputs with common typmod (if any) breaks 24 years ago
Tom Lane 8f0a9e85b3 Second thoughts dept: arrange to cache mergejoin scan selectivity 24 years ago
Tom Lane e433bf5a5e If the inputs of a UNION/INTERSECT/EXCEPT construct all agree on the 24 years ago
Bruce Momjian 6783b2372e Another pgindent run. Fixes enum indenting, and improves #endif 24 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 24 years ago
Tom Lane 4bc9f5e9ba Fix brokenness of nested EXCEPT/INTERSECT queries. prepunion was being 24 years ago
Tom Lane 7c579fa12d Further work on making use of new statistics in planner. Adjust APIs 24 years ago
Tom Lane be03eb25f3 Modify optimizer data structures so that IndexOptInfo lists built for 24 years ago
Tom Lane f905d65ee3 Rewrite of planner statistics-gathering code. ANALYZE is now available as 25 years ago
Tom Lane f155cc82ec Quick hack to fix Oliver Elphick's problem with subselects in an 25 years ago
Bruce Momjian 9e1552607a pgindent run. Make it all clean. 25 years ago
Bruce Momjian 623bf843d2 Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 25 years ago
Bruce Momjian 5088f0748a Change lcons(x, NIL) to makeList(x) where appropriate. 25 years ago
Tom Lane ea166f1146 Planner speedup hacking. Avoid saving useless pathkeys, so that path 25 years ago
Tom Lane 17b843d677 Cache eval cost of qualification expressions in RestrictInfo nodes to 25 years ago
Tom Lane 6543d81d65 Restructure handling of inheritance queries so that they work with outer 25 years ago
Tom Lane a1d133990f Repair some bugs in new union/intersect/except code. 25 years ago
Tom Lane 05e3d0ee86 Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet the 25 years ago
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 38db5fab29 Make inheritance planning logic a little simpler and clearer, 25 years ago
Bruce Momjian a12a23f0d0 Remove unused include files. Do not touch /port or includes used by defines. 25 years ago
Tom Lane 32e192d712 Repair coredump seen when a view refers to an inheritance group 26 years ago
Bruce Momjian 52f77df613 Ye-old pgindent run. Same 4-space tabs. 26 years ago
Tom Lane 3ee8f7e207 Restructure planning code so that preprocessing of targetlist and quals 26 years ago
Thomas G. Lockhart 6456810078 Implement column aliases on views "CREATE VIEW name (collist)". 26 years ago
Tom Lane b1577a7c78 New cost model for planning, incorporating a penalty for random page 26 years ago
Thomas G. Lockhart a344a6e7b5 Carry column aliases from the parser frontend. Enables queries like 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 7431796b46 fix_parsetree_attnums was not nearly smart enough about walking parse 26 years ago
Tom Lane db436adf76 Major revision of sort-node handling: push knowledge of query 26 years ago
Tom Lane e6381966c1 Major planner/optimizer revision: get rid of PathOrder node type, 26 years ago
Bruce Momjian 3406901a29 Move some system includes into c.h, and remove duplicates. 26 years ago