Commit Graph

155 Commits (3f8db37c2f1eeeffd9dae3189b783a463f56fe77)

Author SHA1 Message Date
Tom Lane 3f8db37c2f Tweak SPI_cursor_open to allow INSERT/UPDATE/DELETE RETURNING; this was 20 years ago
Tom Lane 7a3e30e608 Add INSERT/UPDATE/DELETE RETURNING, with basic docs and regression tests. 20 years ago
Bruce Momjian 3716f90c39 For protocol-level prepare/bind/execute: 20 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Tom Lane 2206b498d8 Simplify ParamListInfo data structure to support only numbered parameters, 20 years ago
Tom Lane 147d4bf3e5 Modify all callers of datatype input and receive functions so that if these 20 years ago
Tom Lane 20ab467d76 Improve parser so that we can show an error cursor position for errors 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane 2c0ef9777c Extend the ExecInitNode API so that plan nodes receive a set of flag 20 years ago
Neil Conway 33e06ebccb Add a new system view, pg_cursors, that displays the currently available 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Alvaro Herrera 902377c465 Rename the members of CommandDest enum so they don't collide with other uses of 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 21 years ago
Tom Lane 1b61ee3c69 _SPI_execute_plan failed to return result tuple table to caller in 21 years ago
Tom Lane 56b01dc9ff Make SPI set SPI_processed for CREATE TABLE AS / SELECT INTO commands; 21 years ago
Tom Lane 278bd0cc22 For some reason access/tupmacs.h has been #including utils/memutils.h, 21 years ago
Neil Conway f478856c7f Change SPI functions to use a `long' when specifying the number of tuples 21 years ago
Tom Lane 6c412f0605 Change CREATE TYPE to require datatype output and send functions to have 21 years ago
Neil Conway 4f6f5db474 Add SPI_getnspname(), including documentation. 21 years ago
Tom Lane adb1a6e95b Improve EXPLAIN ANALYZE to show the time spent in each trigger when 21 years ago
Tom Lane f97aebd162 Revise TupleTableSlot code to avoid unnecessary construction and disassembly 21 years ago
Tom Lane 42599b322d Fix SPI cursor support to allow scanning the results of utility commands 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Tom Lane 7efa8411cc Rethink plpgsql's way of handling SPI execution during an exception block. 21 years ago
Neil Conway 7069dbcc31 More minor cosmetic improvements: 22 years ago
Peter Eisentraut 0fd37839d9 Message style revisions 22 years ago
Tom Lane 257cccbe5e Add some marginal tweaks to eliminate memory leakages associated with 22 years ago
Tom Lane 8f9f198603 Restructure subtransaction handling to reduce resource consumption, 22 years ago
Tom Lane b2c4071299 Redesign query-snapshot timing so that volatile functions in READ COMMITTED 22 years ago
Tom Lane b339d1fff6 Fire non-deferred AFTER triggers immediately upon query completion, 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 22 years ago
Tom Lane f622c54049 Allow DECLARE CURSOR to take parameters from the portal in which it is 22 years ago
Tom Lane ad4d2e9711 Be more consistent about reporting SPI errors in the various PLs. 22 years ago
Tom Lane cc813fc2b8 Replace nested-BEGIN syntax for subtransactions with spec-compliant 22 years ago
Tom Lane 25ee160acd More paranoia in AtEOSubXact_SPI: don't assume we can safely use SPI_finish 22 years ago
Tom Lane 573a71a5da Nested transactions. There is still much left to do, especially on the 22 years ago
Tom Lane 7643bed58e When using extended-query protocol, postpone planning of unnamed statements 22 years ago
Tom Lane c541bb86e9 Infrastructure for I/O of composite types: arrange for the I/O routines 22 years ago
Tom Lane 8f2ea8b7b5 Resurrect heap_deformtuple(), this time implemented as a singly nested 22 years ago
Neil Conway 72b6ad6313 Use the new List API function names throughout the backend, and disable the 22 years ago
Neil Conway d0b4399d81 Reimplement the linked list data structure used throughout the backend. 22 years ago
Tom Lane 375369acd1 Replace TupleTableSlot convention for whole-row variables and function 22 years ago
Tom Lane f938c2b91b Revise syntax-error reporting behavior to give pleasant results for 22 years ago
Bruce Momjian d245b6bd9f Document SPI_push() and SPI_pop(). 22 years ago
Bruce Momjian 65a0db19f4 Add new SPI functions for use by PL/Java: 22 years ago
Joe Conway e2605c8311 Add a warning to AtEOXact_SPI() to catch cases where the current 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Tom Lane 55d85f42a8 Repair RI trigger visibility problems (this time for sure ;-)) per recent 23 years ago
Tom Lane c63a5452d8 Get rid of ReferentialIntegritySnapshotOverride by extending Executor API 23 years ago