Commit Graph

79 Commits (4695da5ae97bbb58d274887fd68edbe88d03ebcb)

Author SHA1 Message Date
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 17 years ago
Tom Lane dcb2bda9b7 Improve plpgsql's ability to cope with rowtypes containing dropped columns, 17 years ago
Tom Lane 3a624e9200 Revise plpgsql's scanner to process comments and string literals in a way 17 years ago
Tom Lane 03cd7571e8 Fix the plpgsql memory leak exhibited in bug #4677. That leak was introduced 17 years ago
Peter Eisentraut 71936fc5eb The Czech (cs_CZ) and Slovak (sk_SK) locales sort numbers after letters, 17 years ago
Bruce Momjian 8c78f8e65c Add PL/PgSQL FOUND and GET DIAGNOSTICS support for RETURN QUERY 17 years ago
Tom Lane 69a785b8bf Implement SQL-spec RETURNS TABLE syntax for functions. 18 years ago
Tom Lane d89737d31c Support "variadic" functions, which can accept a variable number of arguments 18 years ago
Tom Lane b62f246fb0 Support SQL/PSM-compatible CASE statement in plpgsql. 18 years ago
Tom Lane 4107478d37 Improve plpgsql's RAISE command. It is now possible to attach DETAIL and 18 years ago
Tom Lane 47391591ba Support RETURN QUERY EXECUTE in plpgsql. 18 years ago
Tom Lane 347dd6a1cf Make plpgsql support FOR over a query specified by a cursor declaration, 18 years ago
Tom Lane e2a8804330 Support EXECUTE USING in plpgsql. 18 years ago
Neil Conway b2b9b4d59c Implement RETURN QUERY for PL/PgSQL. This provides some convenient syntax 19 years ago
Tom Lane ae1b7e298c Allow plpgsql function parameter names to be qualified with the function's 19 years ago
Neil Conway 8690ebc26f Support for MOVE in PL/PgSQL. Initial patch from Magnus, some improvements 19 years ago
Neil Conway f2321a3f37 Add support for IN as alternative to FROM in PL/PgSQL's FETCH statement, 19 years ago
Tom Lane f01b196597 Support scrollable cursors (ie, 'direction' clause in FETCH) in plpgsql. 19 years ago
Tom Lane 3d1e01caa4 Support INSERT/UPDATE/DELETE RETURNING in plpgsql, with rowcount checking 20 years ago
Tom Lane f1e671a0b4 Increase timeout in statement_timeout test from 1 second to 2 seconds. 20 years ago
Bruce Momjian 4d06e86d04 Revert patch, needs more work: 20 years ago
Bruce Momjian 38c7700f56 Add dynamic record inspection to PL/PgSQL, useful for generic triggers: 20 years ago
Bruce Momjian 88ba64d396 Back out patch, wrong previous commit message. 20 years ago
Bruce Momjian b6477c6295 Add regexp_replace() to string functions section. 20 years ago
Tom Lane 4fb92718be Fix plpgsql to pass only one copy of any given plpgsql variable into a SQL 20 years ago
Peter Eisentraut 7f4f42fa10 Clean up CREATE FUNCTION syntax usage in contrib and elsewhere, in 20 years ago
Tom Lane 15c72174f3 Apply code-reviewed version of for-scalar-list patch: mostly, fixing 20 years ago
Bruce Momjian 025ffe586f Allow PL/pgSQL FOR statement to return values to scalars as well as 20 years ago
Neil Conway 08dc2af91e Tweak the PL/PgSQL regression tests to catch the recently reported bug 21 years ago
Neil Conway c425dcb4ec In PL/PgSQL, allow a block's label to be optionally specified at the 21 years ago
Tom Lane 975368e267 Avoid function name conflict when plpgsql and rangefuncs regression tests 21 years ago
Neil Conway 738df437b2 Fix bug in CONTINUE statement for PL/pgSQL: when we continue a loop, 21 years ago
Neil Conway ebcb4c931d Add a CONTINUE statement to PL/PgSQL, which can be used to begin the 21 years ago