Commit Graph

322 Commits (0f7d1338c832f00645fe1be880529bac1cd1ff9c)

Author SHA1 Message Date
Tom Lane 0f7d1338c8 Fix behavior of stable functions called from a CALL's argument list. 1 year ago
Dean Rasheed 482ab3e4f9 Add missing support for the latest SPI status codes. 3 years ago
Peter Eisentraut 8657946d37 Re-add SPICleanup for ABI compatibility in stable branch 3 years ago
Tom Lane 604651880c Fix SPI's handling of errors during transaction commit. 3 years ago
Tom Lane e0eba586b1 Fix checking of query type in plpgsql's RETURN QUERY command. 4 years ago
Tom Lane 8f6a52196a Improve error messages about misuse of SELECT INTO. 4 years ago
Tom Lane 7c337b6b52 Centralize the logic for protective copying of utility statements. 4 years ago
Tom Lane 84f5c2908d Restore the portal-level snapshot after procedure COMMIT/ROLLBACK. 4 years ago
Tom Lane d5a83d79c9 Rethink recently-added SPI interfaces. 5 years ago
Tom Lane ee895a655c Improve performance of repeated CALLs within plpgsql procedures. 5 years ago
Tom Lane c9d5298485 Re-implement pl/pgsql's expression and assignment parsing. 5 years ago
Tom Lane 844fe9f159 Add the ability for the core grammar to have more than one parse target. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane 2f48ede080 Avoid using a cursor in plpgsql's RETURN QUERY statement. 5 years ago
Alvaro Herrera 2f9661311b
Represent command completion tags as structs 6 years ago
Robert Haas 2eb34ac369 Fix problems with "read only query" checks, and refactor the code. 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Michael Paquier 66bde49d96 Fix inconsistencies and typos in the tree, take 10 6 years ago
Michael Paquier 23bccc823d Fix inconsistencies and typos in the tree 6 years ago
Tom Lane bc8393cf27 Further adjust SPITupleTable to provide a public row-count field. 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 6 years ago
Tom Lane 4d5840cea9 Fix problems with auto-held portals. 6 years ago
Peter Eisentraut 280a408b48 Transaction chaining 7 years ago
Peter Eisentraut c6ff0b892c Refactor ParamListInfo initialization 7 years ago
Peter Eisentraut 37d9916020 More unconstify use 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 4da597edf1 Make TupleTableSlots extensible, finish split of existing slot type. 7 years ago
Andres Freund 02a30a09f9 Correct constness of system attributes in heap.c & prerequisites. 7 years ago
Tom Lane 82ff0cc91d Advance transaction timestamp for intra-procedure transactions. 7 years ago
Tom Lane 361844fe56 Save/restore SPI's global variables in SPI_connect() and SPI_finish(). 7 years ago
Peter Eisentraut 2e78c5b522 Fix assert in nested SQL procedure call 7 years ago
Peter Eisentraut 30c66e77be Fix SPI error cleanup and memory leak 7 years ago
Simon Riggs 08ea7a2291 Revert MERGE patch 8 years ago
Simon Riggs d204ef6377 MERGE SQL Command following SQL:2016 8 years ago
Simon Riggs 7cf8a5c302 Revert "Modified files for MERGE" 8 years ago
Simon Riggs 354f13855e Modified files for MERGE 8 years ago
Peter Eisentraut d92bc83c48 PL/pgSQL: Nested CALL with transactions 8 years ago
Peter Eisentraut 8561e4840c Transaction control in PL procedures 8 years ago
Peter Eisentraut b48b2f8793 Revert "Move portal pinning from PL/pgSQL to SPI" 8 years ago
Peter Eisentraut b3617cdfbb Move portal pinning from PL/pgSQL to SPI 8 years ago
Peter Eisentraut 0f7c49e855 Update portal-related memory context names and API 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Tom Lane 6719b238e8 Rearrange execution of PARAM_EXTERN Params for plpgsql's benefit. 8 years ago
Tom Lane 7eb16ab17d Fix corner-case coredump in _SPI_error_callback(). 8 years ago
Peter Eisentraut 2eb4a831e5 Change TRUE/FALSE to true/false 8 years ago
Tom Lane 1518d07842 Fix crash when logical decoding is invoked from a PL function. 8 years ago
Andres Freund 2cd7084524 Change tupledesc->attrs[n] to TupleDescAttr(tupledesc, n). 8 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 8 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 8 years ago