Commit Graph

873 Commits (c61207b0913b947d17b837a3d532de81a385977d)

Author SHA1 Message Date
Tom Lane 278bd0cc22 For some reason access/tupmacs.h has been #including utils/memutils.h, 21 years ago
Tom Lane bedb78d386 Implement sharable row-level locks, and use them for foreign key references 21 years ago
Tom Lane a0ea71333a Avoid rechecking lossy operators twice in a bitmap scan plan. 21 years ago
Tom Lane 1fcd4b7a07 While determining the filter clauses for an index scan (either plain 21 years ago
Tom Lane 79a1b00226 Replace slightly klugy create_bitmap_restriction() function with a 21 years ago
Tom Lane 5b05185262 Remove support for OR'd indexscans internal to a single IndexScan plan 21 years ago
Tom Lane 56c8877291 Turns out that my recent elimination of the 'redundant' flatten_andors() 21 years ago
Tom Lane e092828241 Teach choose_bitmap_and() to actually be choosy --- that is, try to 21 years ago
Tom Lane 4b89126ccc Fix bogus EXPLAIN display of rowcount estimates for BitmapAnd and 21 years ago
Tom Lane bc843d3960 First cut at planner support for bitmap index scans. Lots to do yet, 21 years ago
Tom Lane 14c7fba3f7 Rethink original decision to use AND/OR Expr nodes to represent bitmap 21 years ago
Tom Lane e6f7edb9d5 Install some slightly realistic cost estimation for bitmap index scans. 21 years ago
Tom Lane eb4f58ad40 Don't try to run clauseless index scans on index types that don't support 21 years ago
Tom Lane 4a8c5d0375 Create executor and planner-backend support for decoupled heap and index 21 years ago
Tom Lane 939712ee73 Don't try to constant-fold functions returning RECORD, since the optimizer 21 years ago
Tom Lane 162bd08b3f Completion of project to use fixed OIDs for all system catalogs and 21 years ago
Tom Lane 7ace43e0c2 Fix oversight in MIN/MAX optimization: must not return NULL entries 21 years ago
Tom Lane 2e7a68896b Add aggsortop column to pg_aggregate, so that MIN/MAX optimization can 21 years ago
Tom Lane addc42c339 Create the planner mechanism for optimizing simple MIN and MAX queries 21 years ago
Tom Lane acde8b3cab Make constant-folding produce sane output for COALESCE(NULL,NULL), 21 years ago
Tom Lane 6985592967 Split out into a separate function the code in grouping_planner() that 21 years ago
Tom Lane ad161bcc8a Merge Resdom nodes into TargetEntry nodes to simplify code and save a 21 years ago
Tom Lane 280de290d7 In cost_mergejoin, the early-exit effect should not apply to the 21 years ago
Tom Lane 47888fe842 First phase of OUT-parameters project. We can now define and use SQL 21 years ago
Tom Lane 70c9763d48 Convert oidvector and int2vector into variable-length arrays. This 21 years ago
Tom Lane 5db2e83852 Rethink the order of expression preprocessing: eval_const_expressions 21 years ago
Tom Lane bf3dbb5881 First steps towards index scans with heap access decoupled from index 21 years ago
Tom Lane 351519affc Teach const-expression simplification to simplify boolean equality cases, 21 years ago
Tom Lane 926e8a00d3 Add a back-link from IndexOptInfo structs to their parent RelOptInfo 21 years ago
Tom Lane febc9a613c Expand the 'special index operator' machinery to handle special cases 21 years ago
Tom Lane 208ec47ba3 Tweak planner to use a minimum size estimate of 10 pages for a 21 years ago
Neil Conway d344505d1b This patch moves some code for preprocessing FOR UPDATE from 21 years ago
Tom Lane 595ed2a855 Make the behavior of HAVING without GROUP BY conform to the SQL spec. 21 years ago
Tom Lane 849074f9ae Revise hash join code so that we can increase the number of batches 21 years ago
Tom Lane 3104a92866 Another go at making pred_test() handle all reasonable combinations 21 years ago
Tom Lane 95871703e3 Adjust OR indexscan logic to not generate redundant condition-free OR 21 years ago
Tom Lane 4e89bae704 Revert the logic for expanding AND/OR conditions in pred_test() to what 21 years ago
Tom Lane fffb5819ca Adjust constant-folding of CASE expressions so that the simple comparison 21 years ago
Tom Lane 0bf2587df4 Improve planner's estimation of the space needed for HashAgg plans: 21 years ago
Tom Lane 94e4778a31 The result of a FULL or RIGHT join can't be assumed to be sorted by the 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Tom Lane dd29fc2f61 Fix another place broken by new List implementation :-(. Per example 21 years ago
Tom Lane 12b1b5d837 Instead of supposing (wrongly, in the general case) that the rowtype 21 years ago
Tom Lane 4e91824b94 Make some adjustments to reduce platform dependencies in plan selection. 21 years ago
Tom Lane 5374d097de Change planner to use the current true disk file size as its estimate of 21 years ago
Tom Lane 9a633cbb6c Allow planner to fold "stable" functions to constants when forming 21 years ago
Tom Lane 547bb4a7f2 Use a hopefully-more-reliable method of detecting default selectivity 21 years ago
Tom Lane f245c4eb1a When implementing a coercion to a domain type with a combined 21 years ago
Tom Lane 3d6e538edf pred_test() logic was being too narrow-minded about where it might find 21 years ago
Tom Lane 529db99c6e Avoid overflow in cost_sort when work_mem exceeds 1Gb. 21 years ago