Commit Graph

255 Commits (d3d53f955cf6ad755ba3682577e0f6fa10106438)

Author SHA1 Message Date
Tom Lane 06e2757277 Remove SQL-compatibility function cardinality(). It is not exactly clear 17 years ago
Tom Lane f2110a757d Change cardinality() into a C-code function, instead of a SQL-language 17 years ago
Tom Lane daac6e988e Fix unnest() to handle a toasted input array safely. Per report from 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane 95b07bc7f5 Support window functions a la SQL:2008. 17 years ago
Tom Lane c889ebce0a Implement the basic form of UNNEST, ie unnest(anyarray) returns setof 17 years ago
Peter Eisentraut f98f6ee064 array_length() function, and for SQL compatibility also cardinality() 17 years ago
Peter Eisentraut 254aecb704 ADD array_ndims function 17 years ago
Tom Lane 5618ece82b Code review for array_fill patch: fix inadequate check for array size overflow 18 years ago
Bruce Momjian 2c773296f8 Add array_fill() to create arrays initialized with a value. 18 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 18 years ago
Alvaro Herrera 1fcb977a13 Add generate_subscripts, a series-generation function which generates an 18 years ago
Tom Lane c846f7ca8a Fix several datatype input functions that were allowing unused bytes in their 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Alvaro Herrera 7157114d54 Remove long-unused and broken TCL_ARRAYS. 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Tom Lane 3e23b68dac Support varlena fields with single-byte headers and unaligned storage. 19 years ago
Tom Lane bf94076348 Fix array coercion expressions to ensure that the correct volatility is 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Tom Lane fc5eb3f69a Tweak accumArrayResult() to double the size of its working arrays when 19 years ago
Peter Eisentraut b9b4f10b5b Message style improvements 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Tom Lane 352a56ba68 Allow assignment to array elements not contiguous with those already 20 years ago
Tom Lane f5b4d9a9e0 If we're going to advertise the array overlap/containment operators, 20 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Bruce Momjian fa601357fb Sort reference of include files, "A" - "F". 20 years ago
Tom Lane 147d4bf3e5 Modify all callers of datatype input and receive functions so that if these 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Tom Lane 659f681638 Change array comparison rules to consider dimensionality information, 20 years ago
Tom Lane cecb607559 Make SQL arrays support null elements. This commit fixes the core array 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 866ffc2fe3 array_in() and array_recv() need to be more paranoid about validating 21 years ago
Tom Lane d78397d301 Change typreceive function API so that receive functions get the same 21 years ago
Tom Lane 6c412f0605 Change CREATE TYPE to require datatype output and send functions to have 21 years ago
Tom Lane 8c85a34a3b Officially decouple FUNC_MAX_ARGS from INDEX_MAX_KEYS, and set the 21 years ago
Tom Lane 70c9763d48 Convert oidvector and int2vector into variable-length arrays. This 21 years ago
Tom Lane 0dca4fcb0e array_map can't use the fn_extra field of the provided fcinfo struct as 21 years ago
Neil Conway 484f0464ff Implement max() and min() aggregates for array types. Patch from Koju 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Tom Lane bd3bc4076e array_map failed to insert correct result type in an empty array. 21 years ago
Tom Lane ae8f7313ab Rewrite ReadArrayStr() to avoid O(N^2) behavior on large strings, 22 years ago
Neil Conway 6a2869f64e Fix a read of uninitialized memory in array_out(). Perform some minor 22 years ago
Tom Lane 6ad853b975 Yet another place where someone was being careless about the arguments 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 22 years ago
Joe Conway f900af7961 Further tightening of the array literal parser. Prevent junk 22 years ago
Joe Conway cb50ee286d Tighened up syntax checking of array input processing considerably. Junk that 22 years ago
Joe Conway 0e13d627be Require that array literals produce "rectangular" arrays, i.e. all the 22 years ago