Commit Graph

353 Commits (9c72df4e863115ea2dfb9544dc7ee1c5747a70a7)

Author SHA1 Message Date
Tom Lane 6e07709760 Implement SQL-compliant treatment of row comparisons for < <= > >= cases 20 years ago
Peter Eisentraut a29c04a541 Allow installation into directories containing spaces in the name. 20 years ago
Tom Lane 2e468aa5d7 Fix core dump in error path of plpgsql_parse_tripwordtype. Somebody 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Tom Lane 1d0d8d3c38 Mop-up for nulls-in-arrays patch: fix some places that access array 20 years ago
Tom Lane cecb607559 Make SQL arrays support null elements. This commit fixes the core array 20 years ago
Tom Lane 18feafcc59 Ensure that a plpgsql LOOP with an empty body still executes at least 21 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 21 years ago
Tom Lane 203015ebdd Fix small oversight in recent patch to add more CREATE-FUNCTION-time 21 years ago
Tom Lane 303e089df5 Clean up possibly-uninitialized-variable warnings reported by gcc 4.x. 21 years ago
Tom Lane 323f0a6c01 Fix recent breakage of decl_cursor_arglist syntax, per Michael Paesold. 21 years ago
Tom Lane 5b0fa0c28c Fix make_tuple_from_row to support nested rowtypes, per gripe from 21 years ago
Neil Conway 95cbfb5c7c Refactor exec_cast_value() and exec_simple_cast_value(): since they do 21 years ago
Tom Lane 37bd2aaf28 Fix breakage introduced in plpgsql CONTINUE patch. 21 years ago
Tom Lane 6e2ff6e89a Add a check for trigger function with declared arguments. This path 21 years ago
Bruce Momjian 74b49a8129 Add E'' to internally created SQL strings that contain backslashes. 21 years ago
Neil Conway c425dcb4ec In PL/PgSQL, allow a block's label to be optionally specified at the 21 years ago
Bruce Momjian 2f7d369a5c Clarify code to double \\ and '. 21 years ago
Tom Lane 943b396245 Add Oracle-compatible GREATEST and LEAST functions. Pavel Stehule 21 years ago
Tom Lane d395aecffa Code review for escape-strings patch. Sync psql and plpgsql lexers 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
Tom Lane 638feae2c9 exec_eval_datum leaks memory when dealing with ROW or REC values. 21 years ago
Tom Lane 9d7c005243 plpgsql's exec_assign_value() freed the old value of a variable before 21 years ago
Bruce Momjian a11333fab7 Fix typo in comment. 21 years ago
Neil Conway d6636543c4 Allow the parameters to PL/PgSQL's RAISE statement to be expressions, 21 years ago
Neil Conway e31cd6739a Cleanup for "#option dump" in PL/PgSQL: don't print empty ELSE blocks, 21 years ago
Neil Conway d46bc444ac Implement two new special variables in PL/PgSQL: SQLSTATE and SQLERRM. 21 years ago
Neil Conway 593badd30b Correct an omission in the syntax error message emitted by EXECUTE INTO 21 years ago
Neil Conway c59887f916 Add support for an optional INTO clause to PL/PgSQL's EXECUTE command. 21 years ago
Tom Lane e92a88272e Modify hash_search() API to prevent future occurrences of the error 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 278bd0cc22 For some reason access/tupmacs.h has been #including utils/memutils.h, 21 years ago
Neil Conway f478856c7f Change SPI functions to use a `long' when specifying the number of tuples 21 years ago
Tom Lane 6c412f0605 Change CREATE TYPE to require datatype output and send functions to have 21 years ago
Tom Lane 162bd08b3f Completion of project to use fixed OIDs for all system catalogs and 21 years ago
Tom Lane e00ee88761 Allow plpgsql functions to omit RETURN command when the function returns 21 years ago
Tom Lane 726220fb9f Adjust grammar for plpgsql's OPEN command so that a cursor can be 21 years ago
Tom Lane fd97cf4df0 plpgsql does OUT parameters, as per my proposal a few weeks ago. 21 years ago
Tom Lane 70c9763d48 Convert oidvector and int2vector into variable-length arrays. This 21 years ago
Tom Lane c90578a1d6 Make initialization of special trigger variables a little more readable. 21 years ago
Bruce Momjian caad817d1c Add fprintf() custom version to libpgport. 21 years ago
Tom Lane 41994145d4 My patch this morning was overly hasty; revert code to original state. 21 years ago
Tom Lane b9a87e5219 Un-break plpgsql build by removing unwanted _() usage. 21 years ago
Neil Conway 5a9dd0dc4f This patch changes makes some significant changes to how compilation 21 years ago
Bruce Momjian 0542b1e2fe Use _() macro consistently rather than gettext(). Add translation 21 years ago
Bruce Momjian 67ff8009cf Move plpgsql DEBUG from DEBUG2 to DEBUG1 because it is a user-requested 21 years ago
Tom Lane 2a8874841d Adjust plpgsql to allow assignment to an element of an array that is 21 years ago