Commit Graph

432 Commits (a0905056fd6b0927dd33f185adc9e7503515fc0d)

Author SHA1 Message Date
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
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 7 years ago
Teodor Sigaev c266ed31a8 Cleanup covering infrastructure 8 years ago
Teodor Sigaev 8224de4f42 Indexes with INCLUDE columns and their support in B-tree 8 years ago
Teodor Sigaev 710d90da1f Add prefix operator for TEXT type. 8 years ago
Tom Lane 58d9acc18d Fix assorted issues in convert_to_scalar(). 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Tom Lane 7ca25b7de6 Fix neqjoinsel's behavior for semi/anti join cases. 8 years ago
Tom Lane df3a66e282 Improve planner's handling of set-returning functions in grouping columns. 8 years ago
Peter Eisentraut 2eb4a831e5 Change TRUE/FALSE to true/false 8 years ago
Tom Lane c12d570fa1 Support arrays over domains. 8 years ago
Tom Lane 7d08ce286c Distinguish selectivity of < from <= and > from >=. 8 years ago
Tom Lane 3ca930fc39 Improve performance of get_actual_variable_range with recently-dead tuples. 8 years ago
Tom Lane 2b74303637 Make the planner assume that the entries in a VALUES list are distinct. 8 years ago
Tom Lane 4867d7f62f Avoid out-of-memory in a hash join with many duplicate inner keys. 8 years ago
Tom Lane 780b3a4c43 Manually un-break a few URLs that pgindent used to insist on splitting. 8 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 8 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 8 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 8 years ago
Robert Haas b08df9cab7 Teach predtest.c about CHECK clauses to fix partitioning bugs. 8 years ago
Tom Lane 5936d25f81 Remove dead variables. 8 years ago
Tom Lane 512c7356b6 Fix <> and pattern-NOT-match estimators to handle nulls correctly. 8 years ago
Bruce Momjian a6fd7b7a5f Post-PG 10 beta1 pgindent run 8 years ago
Tom Lane f04c9a6146 Standardize terminology for pg_statistic_ext entries. 8 years ago