Commit Graph

58 Commits (16be2fd100199bdf284becfcee02c5eb20d8a11d)

Author SHA1 Message Date
Tom Lane 82f8107b92 Fix handling of empty arrays in array_fill(). 9 years ago
Alvaro Herrera a73491e5fe Fix crasher bug in array_position(s) 9 years ago
Tom Lane 6efbded6e4 Allow omitting one or both boundaries in an array slice specifier. 10 years ago
Teodor Sigaev bbbd807097 Revert 9246af6799 because 10 years ago
Teodor Sigaev 9246af6799 Allow to omit boundaries in array subscript 10 years ago
Andres Freund c1ca3a19df Fix bug around assignment expressions containing indirections. 11 years ago
Alvaro Herrera 97690ea6e8 Change array_offset to return subscripts, not offsets 11 years ago
Alvaro Herrera 13dbc7a824 array_offset() and array_offsets() 11 years ago
Tom Lane bac27394a1 Support arrays as input to array_agg() and ARRAY(SELECT ...). 11 years ago
Tom Lane e80252d424 Add width_bucket(anyelement, anyarray). 11 years ago
Tom Lane 3f8c8e3c61 Fix failure to detoast fields in composite elements of structured types. 12 years ago
Bruce Momjian d0ee93797d arrays: tighten checks for multi-dimensional input 12 years ago
Robert Haas 01f7808b3e Add a cardinality function for arrays. 12 years ago
Tom Lane b5e0a2a384 Tweak placement of explicit ANALYZE commands in the regression tests. 12 years ago
Noah Misch 97c4d9b7c7 Don't emit non-canonical empty arrays in array_remove(). 13 years ago
Tom Lane 904af8db8a Fix handling of strict non-set functions with NULLs in set-valued inputs. 13 years ago
Tom Lane 84a42560c8 Add array_remove() and array_replace() functions. 14 years ago
Tom Lane 0e5e167aae Collect and use element-frequency statistics for arrays. 14 years ago
Tom Lane 73912e7fbd Fix GIN to support null keys, empty and null items, and full index scans. 15 years ago
Peter Eisentraut fc946c39ae Remove useless whitespace at end of lines 15 years ago
Tom Lane 33f43725fb Add three-parameter forms of array_to_string and string_to_array, to allow 16 years ago
Tom Lane 11d5ba97f8 Fix ExecEvalArrayRef to pass down the old value of the array element or slice 16 years ago
Tom Lane 06e2757277 Remove SQL-compatibility function cardinality(). It is not exactly clear 17 years ago
Tom Lane 0a2cdbcd7d Fix recently-added array_agg tests to ensure they produce stable results 17 years ago
Tom Lane c889ebce0a Implement the basic form of UNNEST, ie unnest(anyarray) returns setof 17 years ago
Peter Eisentraut 3379fae6de array_agg aggregate function, as per SQL:2008, but without ORDER BY clause 17 years ago
Peter Eisentraut f98f6ee064 array_length() function, and for SQL compatibility also cardinality() 17 years ago
Peter Eisentraut e2a277bd08 A few additional test cases for array functionality 17 years ago
Peter Eisentraut 254aecb704 ADD array_ndims function 17 years ago
Bruce Momjian 2c773296f8 Add array_fill() to create arrays initialized with a value. 18 years ago
Alvaro Herrera 1fcb977a13 Add generate_subscripts, a series-generation function which generates an 18 years ago
Tom Lane 6b0706ac33 Arrange for an explicit cast applied to an ARRAY[] constructor to be applied 18 years ago
Tom Lane 9aa3c782c9 Fix the problem that creating a user-defined type named _foo, followed by one 19 years ago
Tom Lane 352a56ba68 Allow assignment to array elements not contiguous with those already 20 years ago
Tom Lane ba920e1c91 Rename contains/contained-by operators to @> and <@, per discussion that 20 years ago
Teodor Sigaev 8a3631f8d8 GIN: Generalized Inverted iNdex. 20 years ago
Tom Lane cecb607559 Make SQL arrays support null elements. This commit fixes the core array 20 years ago
Bruce Momjian bb3cce4ec9 Add E'' syntax so eventually normal strings can treat backslashes 21 years ago
Tom Lane bc843d3960 First cut at planner support for bitmap index scans. Lots to do yet, 21 years ago
Neil Conway 484f0464ff Implement max() and min() aggregates for array types. Patch from Koju 21 years ago
Joe Conway f900af7961 Further tightening of the array literal parser. Prevent junk 22 years ago
Tom Lane 7e64dbc6b5 Support assignment to subfields of composite columns in UPDATE and INSERT. 22 years ago
Bruce Momjian 0969dc867b Allow LIKE/ILIKE to appear in more places in a query. 22 years ago
Tom Lane e945246321 Fix ARRAY[] construct so that in multidimensional case, elements can 23 years ago
Tom Lane bee217924d Support expressions of the form 'scalar op ANY (array)' and 23 years ago
Tom Lane b3c0551eda Create real array comparison functions (that use the element datatype's 23 years ago
Bruce Momjian 111d8e522b Back out array mega-patch. 23 years ago
Bruce Momjian 46bf651480 Array mega-patch. 23 years ago
Tom Lane 730840c9b6 First phase of work on array improvements. ARRAY[x,y,z] constructor 23 years ago
Bruce Momjian 73b94657b0 Throw error on pg_atoi(''), regression adjustments. 24 years ago