Commit Graph

1077 Commits (39bd3fd1db6f3aa3764d4a1bebcd71c4e9c00281)

Author SHA1 Message Date
Tom Lane 95b07bc7f5 Support window functions a la SQL:2008. 17 years ago
Tom Lane 38e9348282 Make a couple of small changes to the tuplestore API, for the benefit of the 17 years ago
Tom Lane 4ac592be6c Fix oversight in my recent patch to allow ExecMakeFunctionResult to handle 17 years ago
Tom Lane b69bde7749 Remove pg_plan_queries()'s now-useless needSnapshot parameter. It's useless 17 years ago
Tom Lane ec543db77b Ensure that the contents of a holdable cursor don't depend on out-of-line 17 years ago
Tom Lane c1f3073333 Clean up the API for DestReceiver objects by eliminating the assumption 17 years ago
Tom Lane c2138f3caa Fix minor memory leak introduced in recent SQL-functions hacking: the 17 years ago
Tom Lane cd35e9d746 Some infrastructure changes for the upcoming auto-explain contrib module: 17 years ago
Tom Lane 18004101ac Modify UPDATE/DELETE WHERE CURRENT OF to use the FOR UPDATE infrastructure to 17 years ago
Peter Eisentraut 8aad333f8f Fix crash of xmlconcat(NULL) 17 years ago
Tom Lane 0656ed3daa Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having the plan 17 years ago
Tom Lane 85e2cedf98 Improve bulk-insert performance by keeping the current target buffer pinned 17 years ago
Tom Lane 902d1cb35f Remove all uses of the deprecated functions heap_formtuple, heap_modifytuple, 17 years ago
Tom Lane df5a99612d Simplify ExecutorRun's API and save some trivial number of cycles by having 17 years ago
Tom Lane 9b46abb7c4 Allow SQL-language functions to return the output of an INSERT/UPDATE/DELETE 17 years ago
Tom Lane 05bba3d176 Be more tense about not creating tuplestores with randomAccess = true unless 17 years ago
Tom Lane e3e3d2a789 Extend ExecMakeFunctionResult() to support set-returning functions that return 17 years ago
Tom Lane a80a12247a Change WorkTableScan to not support backward scan. The apparent support 17 years ago
Tom Lane 7028c13557 Fix an oversight in two different recent patches: nodes that support SRFs 17 years ago
Tom Lane d5789018c7 Remove useless ps_OuterTupleSlot field from PlanState. I suppose this was 17 years ago
Tom Lane e4fb8ff06a Add a new column to pg_am to specify whether an index AM supports backward 17 years ago
Neil Conway e034e517a7 Fix a small memory leak in ExecReScanAgg() in the hashed aggregation case. 17 years ago
Tom Lane bcf188a218 Fix SPI_getvalue and SPI_getbinval to range-check the given attribute number 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 17 years ago
Tom Lane 44d5be0e53 Implement SQL-standard WITH clauses, including WITH RECURSIVE. 17 years ago
Tom Lane dad4cb6258 Improve tuplestore.c to support multiple concurrent read positions. 17 years ago
Tom Lane 1cd935609f Fix caching of foreign-key-checking queries so that when a replan is needed, 18 years ago
Alvaro Herrera d53a56687f Initialize the minimum frozen Xid in vac_update_datfrozenxid using 18 years ago
Tom Lane a26c7e3d71 Support set-returning functions in the target lists of Agg and Group plan 18 years ago
Tom Lane e5536e77a5 Move exprType(), exprTypmod(), expression_tree_walker(), and related routines 18 years ago
Tom Lane d320101b5b Get rid of the last remaining uses of var_is_rel(), to wit some debugging 18 years ago
Tom Lane bd3daddaf2 Arrange to convert EXISTS subqueries that are equivalent to hashable IN 18 years ago
Tom Lane 118461114e Performance fix for new anti-join code in nodeMergejoin.c: after finding a 18 years ago
Tom Lane e006a24ad1 Implement SEMI and ANTI joins in the planner and executor. (Semijoins replace 18 years ago
Tom Lane 30fd8ec799 Install checks in executor startup to ensure that the tuples produced by an 18 years ago
Tom Lane af95d7aa63 Improve INTERSECT/EXCEPT hashing by realizing that we don't need to make any 18 years ago
Tom Lane 368df30427 Support hashing for duplicate-elimination in INTERSECT and EXCEPT queries. 18 years ago
Tom Lane 3d40d5e70e Do not allow Unique nodes to be scanned backwards. The code claimed that it 18 years ago
Tom Lane 9511304752 Rearrange the querytree representation of ORDER BY/GROUP BY/DISTINCT items 18 years ago
Tom Lane a77eaa6a95 As noted by Andrew Gierth, there's really no need any more to force a junk 18 years ago
Tom Lane a1c692358b Adjust things so that the query_string of a cached plan and the sourceText of 18 years ago
Tom Lane 6cc88f0af5 Provide a function hook to let plug-ins get control around ExecutorRun. 18 years ago
Tom Lane 772a6d45ef Fix mis-calculation of extParam/allParam sets for plan nodes, as seen in 18 years ago
Alvaro Herrera a3540b0f65 Improve our #include situation by moving pointer types away from the 18 years ago
Tom Lane 6a9fffcd0d Refactor SPI_cursor_open/SPI_cursor_open_with_args so that the latter sets 18 years ago
Tom Lane 93c701edc6 Add support for tracking call counts and elapsed runtime for user-defined 18 years ago
Tom Lane 3bc25384d7 Move the "instr_time" typedef and associated macros into a new header 18 years ago
Bruce Momjian d82a1d582c This is the patch replace offnum++ by OffsetNumberNext, to be 18 years ago
Alvaro Herrera 5da9da71c4 Improve snapshot manager by keeping explicit track of snapshots. 18 years ago