Commit Graph

111 Commits (55caaaeba877eac1feb6481fb413fa04ae9046ac)

Author SHA1 Message Date
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. 10 years ago
Tom Lane fcdfce6820 Detect mismatched CONTINUE and EXIT statements at plpgsql compile time. 10 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". 15 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
Tom Lane d879697cd2 Remove the default_do_language parameter, instead making DO use a hardwired 16 years ago
Tom Lane 309cd7cf18 Add "USING expressions" option to plpgsql's OPEN cursor FOR EXECUTE. 16 years ago
Tom Lane 6317609986 Add control knobs for plpgsql's variable resolution behavior, and make the 16 years ago
Tom Lane 2dee828cac Remove plpgsql's separate lexer (finally!), in favor of using the core lexer 16 years ago
Tom Lane 2ace38d226 Fix WHERE CURRENT OF to work as designed within plpgsql. The argument 16 years ago
Tom Lane 0772f1e53d Change plpgsql from using textual substitution to insert variable references 16 years ago
Tom Lane c29ae527e9 Remove plpgsql's RENAME declaration, which has bizarre and mostly nonfunctional 16 years ago
Tom Lane 9bedd128d6 Add support for invoking parser callback hooks via SPI and in cached plans. 16 years ago
Tom Lane 960d7ff022 Allow MOVE FORWARD n, MOVE BACKWARD n, MOVE FORWARD ALL, MOVE BACKWARD ALL 16 years ago
Tom Lane 9048b73184 Implement the DO statement to support execution of PL code without having 16 years ago