Commit Graph

503 Commits (f80b09bac87d6b49f5dbb6131da5fbd9b9773c5c)

Author SHA1 Message Date
Michael Paquier 7a3543c2ea Fix some comments referring to past features 6 years ago
Tom Lane 0c882e52a8 Improve ineq_histogram_selectivity's behavior for non-default orderings. 6 years ago
Tom Lane 044c99bc56 Use query collation, not column's collation, while examining statistics. 6 years ago
Tom Lane 1c455078b0 Allow matchingsel() to be used with operators that might return NULL. 6 years ago
Tom Lane 9d25e1aa31 Clean up cpluspluscheck violation. 6 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. 7 years ago
Tom Lane 1cff1b95ab Represent Lists as expansible arrays, not chains of cons-cells. 7 years ago
Tom Lane d3751adcf1 Fix get_actual_variable_range() to cope with broken HOT chains. 7 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Dean Rasheed a0905056fd Use checkAsUser for selectivity estimator checks, if it's set. 7 years ago
Dean Rasheed 1aebfbea83 Fix security checks for selectivity estimation functions with RLS. 7 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
Tom Lane 2ece7c07dc Add text-vs-name cross-type operators, and unify name_ops with text_ops. 7 years ago
Tom Lane 586b98fdf1 Make type "name" collation-aware. 7 years ago
Tom Lane 5e09280057 Make pg_statistic and related code account more honestly for collations. 7 years ago
Tom Lane a314c34079 Clamp semijoin selectivity to be not more than inner-join selectivity. 7 years ago
Andres Freund 578b229718 Remove WITH OIDS support, change oid catalog column visibility. 7 years ago
Andres Freund 1a0586de36 Introduce notion of different types of slots (without implementing them). 7 years ago
Andres Freund cda6a8d01d Remove deprecated abstime, reltime, tinterval datatypes. 7 years ago
Andres Freund 29c94e03c7 Split ExecStoreTuple into ExecStoreHeapTuple and ExecStoreBufferHeapTuple. 7 years ago
Alvaro Herrera f2c587067a Rethink how to get float.h in old Windows API for isnan/isinf 8 years ago
Teodor Sigaev c266ed31a8 Cleanup covering infrastructure 8 years ago