Commit Graph

30 Commits (5bcf389ecfd40daf92238e1abbff4fc4d3f18b33)

Author SHA1 Message Date
Tom Lane 7421f4b89a Fix incorrect handling of CTEs and ENRs as DML target relations. 8 years ago
Kevin Grittner 18ce3a4ab2 Add infrastructure to support EphemeralNamedRelation references. 9 years ago
Tom Lane 1e7c4bb004 Change unknown-type literals to type text in SELECT and RETURNING lists. 9 years ago
Andres Freund 0137caf273 Make regression tests less dependent on hash table order. 9 years ago
Andres Freund 84ac126ee7 Fix ON CONFLICT UPDATE bug breaking AFTER UPDATE triggers. 10 years ago
Andres Freund 168d5805e4 Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. 11 years ago
Tom Lane d809fd0008 Improve parser's one-extra-token lookahead mechanism. 11 years ago
Peter Eisentraut 5839052693 Add CREATE RECURSIVE VIEW syntax 13 years ago
Tom Lane 8b728e5c6e Fix oversight in new code for printing rangetable aliases. 13 years ago
Tom Lane 46c508fbcf Fix PARAM_EXEC assignment mechanism to be safe in the presence of WITH. 14 years ago
Tom Lane 4c5316931f Fix rescan logic in nodeCtescan. 14 years ago
Tom Lane f6ce81f55a Fix WITH attached to a nested set operation (UNION/INTERSECT/EXCEPT). 14 years ago
Tom Lane 9fa82c9809 Fix planner's handling of RETURNING lists in writable CTEs. 14 years ago
Tom Lane 4ec6581c0c Fix handling of init_plans list in inheritance_planner(). 14 years ago
Tom Lane fc1286d3cb Fix rewriter to cope (more or less) with CTEs in the query being rewritten. 15 years ago
Tom Lane a874fe7b4c Refactor the executor's API to support data-modifying CTEs better. 15 years ago
Tom Lane 000128bc7f Fix order of shutdown processing when CTEs contain inter-references. 15 years ago
Tom Lane 389af95155 Support data-modifying commands (INSERT/UPDATE/DELETE) in WITH. 15 years ago
Tom Lane 07f1264dda Allow WITH clauses to be attached to INSERT, UPDATE, DELETE statements. 15 years ago
Tom Lane 255f66efa9 Fix bug with WITH RECURSIVE immediately inside WITH RECURSIVE. 99% of the 17 years ago
Tom Lane 9298d2ff39 Fix handling of changed-Param signaling for CteScan plan nodes. We were using 17 years ago
Tom Lane 793d5662e8 Fix an oversight in the support for storing/retrieving "minimal tuples" in 17 years ago
Tom Lane 06224652f2 Add docs and regression test about sorting the output of a recursive query in 17 years ago
Tom Lane 1f238e569a Eliminate unnecessary array[] decoration in examples of recursive cycle 17 years ago
Tom Lane e3b0117459 Implement comparison of generic records (composite types), and invent a 17 years ago
Tom Lane 0a7abcd4c9 Fix corner case wherein a WorkTableScan node could get initialized before the 17 years ago
Tom Lane 0d115dde82 Extend CTE patch to support recursive UNION (ie, without ALL). The 18 years ago
Tom Lane 1e4b03847c Improve behavior of WITH RECURSIVE with an untyped literal in the 18 years ago
Tom Lane 0814250474 Fix markTargetListOrigin() to not fail on a simple-Var reference to a 18 years ago
Tom Lane 44d5be0e53 Implement SQL-standard WITH clauses, including WITH RECURSIVE. 18 years ago