Commit Graph

276 Commits (3f244d020fbf0b4f01d71e1b7620930be4bf9dc5)

Author SHA1 Message Date
Tom Lane 3f244d020f Make new GENERATED-expressions code more bulletproof. 3 years ago
Tom Lane 3f7836ff65 Fix calculation of which GENERATED columns need to be updated. 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Etsuro Fujita 4b3e379932 Remove new structure member from ResultRelInfo. 3 years ago
Alvaro Herrera a61b1f7482
Rework query relation permission checking 3 years ago
Alvaro Herrera fb958b5da8
Generalize ri_RootToPartitionMap to use for non-partition children 3 years ago
Alvaro Herrera ec38694894
Move PartitioPruneInfo out of plan nodes into PlannedStmt 3 years ago
Etsuro Fujita ffbb7e65a8 Fix handling of pending inserts in nodeModifyTable.c. 3 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Tom Lane e3ec3c00d8 Remove arbitrary 64K-or-so limit on rangetable size. 4 years ago
Tom Lane c5b7ba4e67 Postpone some stuff out of ExecInitModifyTable. 5 years ago
Heikki Linnakangas 54e51dcde0 Make ExecGetInsertedCols() and friends more robust and improve comments. 5 years ago
Heikki Linnakangas 6214e2b228 Fix permission checks on constraint violation errors on partitions. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Heikki Linnakangas a04daa97a4 Remove es_result_relation_info from EState. 5 years ago
Heikki Linnakangas 1375422c78 Create ResultRelInfos later in InitPlan, index them by RT index. 5 years ago
Tom Lane 5cbfce562f Initial pgindent and pgperltidy run for v13. 6 years ago
Jeff Davis 50a38f6517 Create memory context for HashAgg with a reasonable maxBlockSize. 6 years ago
Tom Lane bda6dedbea Go back to returning int from ereport auxiliary functions. 6 years ago
Tom Lane 17a28b0364 Improve the internal implementation of ereport(). 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Andres Freund 27cc7cd2bc Reorder EPQ work, to fix rowmark related bugs and improve efficiency. 6 years ago
Tom Lane 3c926587b5 Remove EState.es_range_table_array. 7 years ago
Tom Lane 1cff1b95ab Represent Lists as expansible arrays, not chains of cons-cells. 7 years ago
Michael Paquier 3412030205 Fix more typos and inconsistencies in the tree 7 years ago
Tom Lane 9c703c169a Make queries' locking of indexes more consistent. 7 years ago
Andres Freund c2fe139c20 tableam: Add and use scan APIs. 7 years ago
Robert Haas 898e5e3290 Allow ATTACH PARTITION with only ShareUpdateExclusiveLock. 7 years ago
Andres Freund ad0bda5d24 Store tuples for EvalPlanQual in slots, rather than as HeapTuples. 7 years ago
Andres Freund ff11e7f4b9 Use slots in trigger infrastructure, except for the actual invocation. 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
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 1ef6bd2954 Don't require return slots for nodes without projection. 7 years ago
Tom Lane f9eb7c14b0 Avoid O(N^2) cost in ExecFindRowMark(). 7 years ago
Tom Lane 29ef2b310d Restore sane locking behavior during parallel query. 7 years ago
Tom Lane f2343653f5 Remove more redundant relation locking during executor startup. 7 years ago
Tom Lane d73f4c74dd In the executor, use an array of pointers to access the rangetable. 7 years ago
Tom Lane 9ddef36278 Centralize executor's opening/closing of Relations for rangetable entries. 7 years ago
Tom Lane 9a3cebeaa7 Change executor to just Assert that table locks were already obtained. 7 years ago
Tom Lane 6e35939feb Change rewriter/planner/executor/plancache to depend on RTE rellockmode. 7 years ago
Tom Lane fdba460a26 Create an RTE field to record the query's lock mode for each relation. 7 years ago
Andres Freund 3acc4acd9b LLVMJIT: Release JIT context after running ExprContext shutdown callbacks. 8 years ago
Andrew Dunstan 16828d5c02 Fast ALTER TABLE ADD COLUMN with a non-NULL default 8 years ago
Andres Freund cc415a56d0 Basic planner and executor integration for JIT. 8 years ago
Andres Freund ad7dbee368 Allow tupleslots to have a fixed tupledesc, use in executor nodes. 8 years ago
Robert Haas e44dd84325 Avoid listing the same ResultRelInfo in more than one EState list. 8 years ago