Commit Graph

446 Commits (6efbded6e4672c597a6f0dc0f09263e7db7369ff)

Author SHA1 Message Date
Tom Lane eea49769d4 Fix an old problem in decompilation of CASE constructs: the ruleutils.c code 17 years ago
Tom Lane 1cfd9e8834 Fix executor/spi.h to follow our usual conventions for include files, ie, 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane 26ce4e85a1 Add a WINDOW attribute to CREATE FUNCTION, and teach pg_dump about it, 17 years ago
Tom Lane 8e8854daa2 Add some basic support for window frame clauses to the window-functions 17 years ago
Tom Lane 95b07bc7f5 Support window functions a la SQL:2008. 17 years ago
Tom Lane adac22bf8a When we added the ability to have zero-element ARRAY[] constructs by adding an 17 years ago
Tom Lane 517ae4039e Code review for function default parameters patch. Fix numerous problems as 17 years ago
Peter Eisentraut 455dffbb73 Default values for function arguments 17 years ago
Tom Lane 742fd06d98 Fix up ruleutils.c for CTE features. The main problem was that 17 years ago
Tom Lane bf461538e1 When expanding a whole-row Var into a RowExpr during ResolveNew(), attach 17 years ago
Tom Lane 44d5be0e53 Implement SQL-standard WITH clauses, including WITH RECURSIVE. 17 years ago
Tom Lane 409c144d83 Adjust psql's new \ef command to present an empty CREATE FUNCTION template 17 years ago
Tom Lane 2c863ca818 Implement a psql command "\ef" to edit the definition of a function. 17 years ago
Tom Lane b153c09209 Add a bunch of new error location reports to parse-analysis error messages. 17 years ago
Tom Lane e5536e77a5 Move exprType(), exprTypmod(), expression_tree_walker(), and related routines 17 years ago
Tom Lane bd3daddaf2 Arrange to convert EXISTS subqueries that are equivalent to hashable IN 17 years ago
Tom Lane 9511304752 Rearrange the querytree representation of ORDER BY/GROUP BY/DISTINCT items 17 years ago
Tom Lane 69a785b8bf Implement SQL-spec RETURNS TABLE syntax for functions. 17 years ago
Tom Lane 6563e9e2e8 Add a "provariadic" column to pg_proc to eliminate the remarkably expensive 17 years ago
Tom Lane d89737d31c Support "variadic" functions, which can accept a variable number of arguments 17 years ago
Tom Lane c1943dbaef Fix pg_get_ruledef() so that negative numeric constants are parenthesized. 18 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 18 years ago
Tom Lane c88850f4a0 The 8.2 patch that added support for an alias on the target table of 18 years ago
Tom Lane 7692d8d5b7 Support statement-level ON TRUNCATE triggers. Simon Riggs 18 years ago
Alvaro Herrera 73b0300b2a Move the HTSU_Result enum definition into snapshot.h, to avoid including 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Tom Lane 5935890775 A long time ago, Peter pointed out that ruleutils.c didn't dump simple 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Tom Lane ef6bac3323 When given a nonzero column number, pg_get_indexdef() is only supposed to 18 years ago
Tom Lane 265f904d8f Code review for LIKE ... INCLUDING INDEXES patch. Fix failure to propagate 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 537e92e41f Fix ALTER COLUMN TYPE to preserve the tablespace and reloptions of indexes 18 years ago
Neil Conway 474774918b Implement CREATE TABLE LIKE ... INCLUDING INDEXES. Patch from NikhilS, 18 years ago
Tom Lane 4c310eca2e Arrange for quote_identifier() and pg_dump to not quote keywords that are 19 years ago
Tom Lane a9545b3aef Improve UPDATE/DELETE WHERE CURRENT OF so that they can be used from plpgsql 19 years ago
Tom Lane 6808f1b1de Support UPDATE/DELETE WHERE CURRENT OF cursor_name, per SQL standard. 19 years ago
Tom Lane 31edbadf4a Downgrade implicit casts to text to be assignment-only, except for the ones 19 years ago
Tom Lane ce5b24abed Remove ruleutils.c's use of varnoold/varoattno as a shortcut for determining 19 years ago
Tom Lane bf94076348 Fix array coercion expressions to ensure that the correct volatility is 19 years ago
Neil Conway 7221b4fa50 Code cleanup: mark some variables with the "const" modifier, when they 19 years ago
Tom Lane e88a7ad774 Ooops, got only one of the two ArrayExpr variants correct in first 19 years ago
Tom Lane 0f4ff460c4 Fix up the remaining places where the expression node structure would lose 19 years ago
Tom Lane 95f6d2d209 Make use of plancache module for SPI plans. In particular, since plpgsql 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Tom Lane 655aa5b330 Now that plans have flat rangetable lists, it's a lot easier to get EXPLAIN to 19 years ago
Tom Lane cc77005df7 Change Agg and Group nodes so that Vars contained in their targetlists 19 years ago
Tom Lane 7bddca3450 Fix up foreign-key mechanism so that there is a sound semantic basis for the 19 years ago
Peter Eisentraut ec020e1ceb Implement XMLSERIALIZE for real. Analogously, make the xml to text cast 19 years ago
Bruce Momjian ae875d318e Update documentation for pg_get_serial_sequence() function. 19 years ago