Commit Graph

61 Commits (dcb2bda9b7042dbf43f876c94ebf35d951de10e9)

Author SHA1 Message Date
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
Neil Conway d6636543c4 Allow the parameters to PL/PgSQL's RAISE statement to be expressions, 21 years ago
Neil Conway d46bc444ac Implement two new special variables in PL/PgSQL: SQLSTATE and SQLERRM. 21 years ago
Neil Conway c59887f916 Add support for an optional INTO clause to PL/PgSQL's EXECUTE command. 21 years ago
Bruce Momjian dabde323b2 Back out SQLSTATE and SQLERRM support. 21 years ago
Neil Conway b3195dae49 Minor cleanup for recent SQLSTATE / SQLERRM patch: spell "successful" 21 years ago
Bruce Momjian 38af680ad5 Add PL/pgSQL SQLSTATE and SQLERRM support which sets these values on 21 years ago
Tom Lane e00ee88761 Allow plpgsql functions to omit RETURN command when the function returns 21 years ago
Tom Lane fd97cf4df0 plpgsql does OUT parameters, as per my proposal a few weeks ago. 21 years ago
Neil Conway 5a9dd0dc4f This patch changes makes some significant changes to how compilation 21 years ago
Neil Conway d600c1db7a Add some basic regression tests for refcursors in PL/PgSQL. 21 years ago
Tom Lane 96b42de9a8 exec_eval_simple_expr() needs to do CommandCounterIncrement() not just 21 years ago
Tom Lane e184663b24 plpgsql's exec_eval_simple_expr() now has to take responsibility for 21 years ago
Tom Lane 7efa8411cc Rethink plpgsql's way of handling SPI execution during an exception block. 21 years ago
Tom Lane 6da0c439ee Change some of the existing plpgsql regression test cases so that they 22 years ago
Tom Lane b339d1fff6 Fire non-deferred AFTER triggers immediately upon query completion, 22 years ago
Tom Lane 9c8d0850c3 Support "OR condition ..." in plpgsql EXCEPTION clauses to make the syntax 22 years ago
Tom Lane beda4814c1 plpgsql does exceptions. 22 years ago
Tom Lane 42ce74bf17 COMMENT ON casts, conversions, languages, operator classes, and 22 years ago