Commit Graph

301 Commits (38e9348282e9d078487147ba8a85aebec54e3a08)

Author SHA1 Message Date
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 cd35e9d746 Some infrastructure changes for the upcoming auto-explain contrib module: 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 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 35c2a3c3cf Allow ShowBufferUsage() to report the number of reads/writes that have 18 years ago
Tom Lane 1cd935609f Fix caching of foreign-key-checking queries so that when a replan is needed, 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 a77eaa6a95 As noted by Andrew Gierth, there's really no need any more to force a junk 18 years ago
Tom Lane 6cc88f0af5 Provide a function hook to let plug-ins get control around ExecutorRun. 18 years ago
Tom Lane 3bc25384d7 Move the "instr_time" typedef and associated macros into a new header 18 years ago
Tom Lane 226837e57e Since createplan.c no longer cares whether index operators are lossy, it has 18 years ago
Tom Lane d5466e38f0 Add SPI-level support for executing SQL commands with one-time-use plans, 18 years ago
Tom Lane 7692d8d5b7 Support statement-level ON TRUNCATE triggers. Simon Riggs 18 years ago
Tom Lane 0d49838df6 Arrange to "inline" SQL functions that appear in a query's FROM clause, 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Tom Lane 895a94de6d Avoid incrementing the CommandCounter when CommandCounterIncrement is called 18 years ago
Bruce Momjian f6e8730d11 Re-run pgindent with updated list of typedefs. (Updated README should 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 817946bb04 Arrange to cache a ResultRelInfo in the executor's EState for relations that 19 years ago
Tom Lane 9cb8409762 Repair problems occurring when multiple RI updates have to be done to the same 19 years ago
Magnus Hagander 906b2e1b37 Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with 19 years ago
Tom Lane a9545b3aef Improve UPDATE/DELETE WHERE CURRENT OF so that they can be used from plpgsql 19 years ago
Tom Lane 6808f1b1de Support UPDATE/DELETE WHERE CURRENT OF cursor_name, per SQL standard. 19 years ago
Tom Lane 24ee8af573 Rework temp_tablespaces patch so that temp tablespaces are assigned separately 19 years ago
Tom Lane acfce502ba Create a GUC parameter temp_tablespaces that allows selection of the 19 years ago
Tom Lane bd2c980b22 Buy back some of the cycles spent in more-expensive hash functions by 19 years ago
Tom Lane f01b196597 Support scrollable cursors (ie, 'direction' clause in FETCH) in plpgsql. 19 years ago
Tom Lane 66888f7424 Expose more cursor-related functionality in SPI: specifically, allow 19 years ago
Tom Lane bf8236526b Remove the prohibition on executing cursor commands through SPI_execute. 19 years ago
Tom Lane 95f6d2d209 Make use of plancache module for SPI plans. In particular, since plpgsql 19 years ago
Tom Lane c7ff7663e4 Get rid of the separate EState for subplans, and just let them share the 19 years ago
Tom Lane eab6b8b27e Turn the rangetable used by the executor into a flat list, and avoid storing 19 years ago
Tom Lane 9cbd0c155d Remove the Query structure from the executor's API. This allows us to stop 19 years ago
Tom Lane bfe553fb49 Repair oversight in 8.2 change that improved the handling of "pseudoconstant" 19 years ago
Tom Lane ab05eedecc Add support for cross-type hashing in hashed subplans (hashed IN/NOT IN cases 19 years ago
Tom Lane 5413eef8dc Repair failure to check that a table is still compatible with a previously 19 years ago
Tom Lane a635c08fa1 Add support for cross-type hashing in hash index searches and hash joins. 19 years ago
Tom Lane b39e91501c Improve hash join to discard input tuples immediately if they can't 19 years ago
Tom Lane a191a169d6 Change the planner-to-executor API so that the planner tells the executor 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Tom Lane 0cbc5b1ed4 Fix failure due to accessing an already-freed tuple descriptor in a plan 19 years ago
Tom Lane 8dcc8e3761 Refactor ExecGetJunkAttribute to avoid searching for junk attributes 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 20 years ago
Bruce Momjian 0e20c48561 Revert FETCH/MOVE int64 patch. Was using incorrect checks for 20 years ago