Commit Graph

463 Commits (ed934d4fa30f0f94e6f7125ad2154e6a58d1c7f7)

Author SHA1 Message Date
David Rowley ed934d4fa3 Allow estimate_num_groups() to pass back further details about the estimation 5 years ago
Tomas Vondra a4d75c86bf Extended statistics on expressions 5 years ago
Tomas Vondra 33e52ad9a3 Fix ndistinct estimates with system attributes 5 years ago
Michael Paquier bcf2667bf6 Fix some typos, grammar and style in docs and comments 5 years ago
Tom Lane 55dc86eca7 Fix pull_varnos' miscomputation of relids set for a PlaceHolderVar. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Heikki Linnakangas 0a2bc5d61e Move per-agg and per-trans duplicate finding to the planner. 5 years ago
Tom Lane 56fe008996 Add for_each_from, to simplify loops starting from non-first list cells. 5 years ago
Andres Freund dc7420c2c9 snapshot scalability: Don't compute global horizons while building snapshots. 5 years ago
Tom Lane bd0d893aa7 neqjoinsel must now pass through collation to eqjoinsel. 5 years ago
Michael Paquier 7a3543c2ea Fix some comments referring to past features 5 years ago
Tom Lane 0c882e52a8 Improve ineq_histogram_selectivity's behavior for non-default orderings. 5 years ago
Tom Lane 044c99bc56 Use query collation, not column's collation, while examining statistics. 5 years ago
Tom Lane 1c455078b0 Allow matchingsel() to be used with operators that might return NULL. 5 years ago
Tom Lane 9d25e1aa31 Clean up cpluspluscheck violation. 5 years ago
Tom Lane a80818605e Improve selectivity estimation for assorted match-style operators. 6 years ago
Alexander Korotkov 911e702077 Implement operator class parameters 6 years ago
Peter Eisentraut 3c173a53a8 Remove utils/acl.h from catalog/objectaddress.h 6 years ago
Jeff Davis 7d4395d0a1 Refactor hash_agg_entry_size(). 6 years ago
Alexander Korotkov 4b754d6c16 Avoid full scan of GIN indexes when possible 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Tom Lane ce76c0ba53 Add a reverse-translation column number array to struct AppendRelInfo. 6 years ago
Tom Lane 553d2ec271 Allow access to child table statistics if user can read parent table. 6 years ago
Michael Paquier 168d206400 Provide statistics for hypothetical BRIN indexes 6 years ago
Tomas Vondra d482f7f867 Skip system attributes when applying mvdistinct stats 6 years ago
Peter Eisentraut 38d8dce61f Remove some code for old unsupported versions of MSVC 6 years ago
Tom Lane 5ee190f8ec Rationalize use of list_concat + list_copy combinations. 6 years ago
Tom Lane d97b714a21 Avoid using lcons and list_delete_first where it's easy to do so. 6 years ago
Tom Lane 1cff1b95ab Represent Lists as expansible arrays, not chains of cons-cells. 6 years ago
Tom Lane d3751adcf1 Fix get_actual_variable_range() to cope with broken HOT chains. 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 6 years ago
Dean Rasheed a0905056fd Use checkAsUser for selectivity estimator checks, if it's set. 6 years ago
Dean Rasheed 1aebfbea83 Fix security checks for selectivity estimation functions with RLS. 6 years ago
Tom Lane 9c703c169a Make queries' locking of indexes more consistent. 7 years ago
Tom Lane f7111f72d2 Improve planner's selectivity estimates for inequalities on CTID. 7 years ago
Andres Freund c2fe139c20 tableam: Add and use scan APIs. 7 years ago
Tom Lane 0c7d537930 Move estimate_hashagg_tablesize to selfuncs.c, and widen result to double. 7 years ago
Tom Lane e89f14e2bb Refactor index cost estimation functions in view of IndexClause changes. 7 years ago
Tom Lane 8fd3fdd85a Simplify the planner's new representation of indexable clauses a little. 7 years ago
Tom Lane 49fa99e54e Move pattern selectivity code from selfuncs.c to like_support.c. 7 years ago
Tom Lane 75c46149fc Clean up planner confusion between ncolumns and nkeycolumns. 7 years ago
Tom Lane a391ff3c3d Build out the planner support function infrastructure. 7 years ago
Tom Lane 1a8d5afb0d Refactor the representation of indexable clauses in IndexPaths. 7 years ago
Tom Lane f09346a9c6 Refactor planner's header files. 7 years ago
Tom Lane ff750ce2d8 Teach nulltestsel() that system columns are never NULL. 7 years ago
Andres Freund b7eda3e0e3 Move generic snapshot related code from tqual.h to snapmgr.h. 7 years ago
Andres Freund e0c4ec0728 Replace uses of heap_open et al with the corresponding table_* function. 7 years ago
Andres Freund 111944c5ee Replace heapam.h includes with {table, relation}.h where applicable. 7 years ago
Andres Freund 4c850ecec6 Don't include heapam.h from others headers. 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago