Commit Graph

169 Commits (18a02ad2a506e4425c6dd2ea235039cd5659467d)

Author SHA1 Message Date
Tom Lane e61fd4ac74 Support EEEE (scientific notation) in to_char(). 16 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 16 years ago
Tom Lane e0daf7fc3c Allow leading and trailing spaces around NaN in numeric_in. 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
Bruce Momjian f8df836ae3 Adjust power() error messages to be more descriptive. 18 years ago
Bruce Momjian 6e3e60095d Update C comments to mention SQL:2003 handling of power return values. 18 years ago
Bruce Momjian 4a586bd405 Add regression test for various power expressions with a zero base, and 18 years ago
Bruce Momjian 6b4e9d1654 Have numeric 0 ^ 4.3 return 1, rather than an error, and have 0 ^ 0.0 18 years ago
Tom Lane 8472bf7a73 Allow float8, int8, and related datatypes to be passed by value on machines 18 years ago
Tom Lane a0fad9762a Re-implement division for numeric values using the traditional "schoolbook" 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 6244c2dfff Fix stddev_pop(numeric) and var_pop(numeric), which were incorrectly producing 18 years ago
Tom Lane 23347231a5 Tweak the API for per-datatype typmodin functions so that they are passed 19 years ago
Tom Lane e17e40f783 Allow numeric_fac() to be interrupted, since it can take quite a while for 19 years ago
Tom Lane 31edbadf4a Downgrade implicit casts to text to be assignment-only, except for the ones 19 years ago
Neil Conway ade493e02d Add a hash function for "numeric". Mark the equality operator for 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Bruce Momjian 89a624439e Create AVG() aggregates for int8 and NUMERIC which do not compute X^2, 19 years ago
Neil Conway cf57ef4e50 Implement width_bucket() for the float8 data type. 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Tom Lane 5725b9d9af Support type modifiers for user-defined types, and pull most knowledge 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Bruce Momjian 0a42adcc32 Improve numeric overflow error message. 19 years ago
Tom Lane ae643747b1 Fix a passel of recently-committed violations of the rule 'thou shalt 19 years ago
Neil Conway 0ebf1cc834 Implement 4 new aggregate functions from SQL2003. Specifically: var_pop(), 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Bruce Momjian e7a9ccdb6c I think that NUMERIC datatype has a problem in the performance that 20 years ago
Bruce Momjian 514d0f4db6 Update regression error message for NUMERIC range overflow. Display "1" 20 years ago
Bruce Momjian cdc15b24be Improve error message when NUMERIC precision is exceeded. 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 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 d78397d301 Change typreceive function API so that receive functions get the same 20 years ago
Bruce Momjian 1bc9235224 Fix NUMERIC modulus to properly truncate division in computation. 21 years ago
Neil Conway be2f825d51 Apply the "nodeAgg" optimization to more of the builtin transition 21 years ago
Neil Conway 51b2f8ba55 This patch changes int2_avg_accum() and int4_avg_accum() use the nodeAgg 21 years ago
Bruce Momjian 2daed8c5b3 Update copyrights that were missed. 21 years ago
Tom Lane 4171bb869f Detect overflow in integer arithmetic operators (integer, smallint, and 21 years ago
Bruce Momjian 15d3f9f6b7 Another pgindent run with lib typedefs added. 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 21 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 21 years ago
Neil Conway 132d09054e Minor correction for previous SQLSTATE patch: I changed dsqrt() to emit the 22 years ago
Neil Conway 2871f60f23 Change ln(), log(), power(), and sqrt() to emit the correct SQLSTATE 22 years ago
Neil Conway 0079547bcb Implement the width_bucket() function, per SQL2003. This commit only adds 22 years ago
Tom Lane 0bd61548ab Solve the 'Turkish problem' with undesirable locale behavior for case 22 years ago
Tom Lane 1bc2d544b9 Localize our dependencies on the way to create NAN or INFINITY. 22 years ago
Neil Conway e66fcce672 Use memmove() rather than memcpy() in set_var_from_var(). If this function 22 years ago
Tom Lane 145d9fa46c Code and docs review for numeric-factorial patch. 22 years ago