Commit Graph

121 Commits (5bcf389ecfd40daf92238e1abbff4fc4d3f18b33)

Author SHA1 Message Date
Peter Eisentraut e4128ee767 SQL procedures 8 years ago
Tom Lane 7421f4b89a Fix incorrect handling of CTEs and ENRs as DML target relations. 8 years ago
Tom Lane b8060e41b5 Prefer argument name over "$n" for the refname of a plpgsql argument. 8 years ago
Andrew Gierth 8c55244ae3 Fix transition tables for ON CONFLICT. 9 years ago
Dean Rasheed d3c3f2b1e2 Teach PL/pgSQL about partitioned tables. 9 years ago
Robert Haas 29fd3d9da0 Don't permit transition tables with TRUNCATE triggers. 9 years ago
Peter Eisentraut 8df9994bc3 Fix whitespace 9 years ago
Kevin Grittner 5970271632 Add transition table support to plpgsql. 9 years ago
Heikki Linnakangas 181bdb90ba Fix typos in comments. 9 years ago
Tom Lane cd1b215692 Fix handling of expanded objects in CoerceToDomain and CASE execution. 9 years ago
Tom Lane 55caaaeba8 Improve handling of array elements as getdiag_targets and cursor_variables. 9 years ago
Tom Lane fc8b81a291 Need to do SPI_push/SPI_pop around expression evaluation in plpgsql. 9 years ago
Tom Lane 9eaf5be506 Mark read/write expanded values as read-only in ValuesNext(), too. 10 years ago
Tom Lane 69f526aa49 Mark read/write expanded values as read-only in ExecProject(). 10 years ago
Noah Misch 8e3b4d9d40 Eschew "RESET statement_timeout" in tests. 10 years ago
Tom Lane 18391a8f06 Tweak wording of syntax error messages about bad CONTINUE/EXIT statements. 11 years ago
Tom Lane fcdfce6820 Detect mismatched CONTINUE and EXIT statements at plpgsql compile time. 11 years ago
Tom Lane 83604cc423 Repair unsafe use of shared typecast-lookup table in plpgsql DO blocks. 11 years ago
Tom Lane 0fc94a5bab Repair mishandling of cached cast-expression trees in plpgsql. 11 years ago
Tom Lane ae58f1430a Fix failure to cover scalar-vs-rowtype cases in exec_stmt_return(). 11 years ago
Tom Lane a4847fc3ef Add an ASSERT statement in plpgsql. 11 years ago
Noah Misch f5ef00aed4 Free SQLSTATE and SQLERRM no earlier than other PL/pgSQL variables. 11 years ago
Tom Lane bb1b8f694a De-reserve most statement-introducing keywords in plpgsql. 11 years ago
Heikki Linnakangas c1008f0037 Check number of parameters in RAISE statement at compile time. 11 years ago
Simon Riggs 7d8f1de1bc Extra warnings and errors for PL/pgSQL 12 years ago
Tom Lane c7b849a896 Prevent leakage of cached plans and execution trees in plpgsql DO blocks. 12 years ago
Peter Eisentraut 001e114b8d Fix whitespace issues found by git diff --check, add gitattributes 12 years ago
Robert Haas 689746c045 plpgsql: Add new option print_strict_params. 12 years ago
Stephen Frost ddef1a39c6 Allow a context to be passed in for error handling 13 years ago
Stephen Frost 9bd0feeba8 Improvements to GetErrorContextStack() 13 years ago
Stephen Frost 8312832567 Add GET DIAGNOSTICS ... PG_CONTEXT in PL/PgSQL 13 years ago
Tom Lane 0cd787802f Rename a function to avoid naming conflict in parallel regression tests. 13 years ago
Noah Misch 7cd9b1371d Expose object name error fields in PL/pgSQL. 13 years ago
Tom Lane 0900ac2d0d Fix plpgsql's reporting of plan-time errors in possibly-simple expressions. 13 years ago
Tom Lane 31a891857a Improve pl/pgsql to support composite-type expressions in RETURN. 13 years ago
Tom Lane 05dbd4a773 Fix plpgsql named-cursor-parameter feature for variable name conflicts. 14 years ago
Heikki Linnakangas 4adead1d22 Add support for passing cursor parameters in named notation in PL/pgSQL. 14 years ago
Tom Lane a4ffcc8e11 More code review for rangetypes patch. 14 years ago
Heikki Linnakangas 4429f6a9e3 Support range data types. 14 years ago
Tom Lane 16762b519c Speed up array element assignment in plpgsql by caching type information. 14 years ago
Tom Lane 3d4890c0c5 Add GET STACKED DIAGNOSTICS plpgsql command to retrieve exception info. 15 years ago
Tom Lane 6e02755b22 Add FOREACH IN ARRAY looping to plpgsql. 15 years ago
Peter Eisentraut fc946c39ae Remove useless whitespace at end of lines 15 years ago
Tom Lane dd1c781903 Make get_stack_depth_rlimit() handle RLIM_INFINITY more sanely. 15 years ago
Tom Lane 0abc8fdd4d Reduce recursion depth in recently-added regression test. 15 years ago
Tom Lane 8ce22dd4c5 Fix plpgsql's handling of "simple" expression evaluation. 15 years ago
Robert Haas 0c8ed2dafb Fix inconsistent capitalization of "PL/pgSQL". 16 years ago
Tom Lane 46af71ff7e Fix incorrect logic in plpgsql for cleanup after evaluation of non-simple 16 years ago
Tom Lane 2e35d4f35c Modify the handling of RAISE without parameters so that the error it throws 16 years ago
Tom Lane 399da7d882 Fix thinko in tok_is_keyword(): it was looking at the wrong union variant 16 years ago