Commit Graph

218 Commits (9679345f3c5ec071f63db358581e28f06c8744a7)

Author SHA1 Message Date
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Tom Lane 4d17a2146c Insert a hack into get_float8_nan (both core and ecpg copies) to deal with 16 years ago
Tom Lane d5768dce10 Create an official API function for C functions to use to check if they are 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Tom Lane 8c5463a511 Increase the maximum value of extra_float_digits to 3, and have pg_dump 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 59156ad1b2 Put back our old workaround for machines that declare cbrt() in math.h but 17 years ago
Tom Lane 86ffdcad1b Remove the special cases to prevent minus-zero results in float4 and float8 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
Tom Lane 8472bf7a73 Allow float8, int8, and related datatypes to be passed by value on machines 18 years ago
Tom Lane 23c356ccec Document and enforce that the usable range of setseed() arguments is 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
Neil Conway bbf4fdc253 Prevent corr() from returning the wrong results for negative correlation 19 years ago
Tom Lane 31edbadf4a Downgrade implicit casts to text to be assignment-only, except for the ones 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Neil Conway aef0f53b62 Make setseed() return void, rather than an int4 without any use. Per 19 years ago
Neil Conway cf57ef4e50 Implement width_bucket() for the float8 data type. 19 years ago
Bruce Momjian f0f4a6d781 Apply fix so pow() and exp() ERANGE is used only if result is not 0. 19 years ago
Bruce Momjian e80b0bd69d Check for ERANGE in exp() as well. 19 years ago
Bruce Momjian 19ce06b91b Improve dpow() check for ERANGE overflow for HPPA. 19 years ago
Tom Lane b2965b9fce Put back ERANGE test in dpow(). There are platforms that need this, 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Bruce Momjian 138668ca37 Update float dpow() comment about whick platforms had issues with Nan. 19 years ago
Bruce Momjian a252994abe Simplify assignment of Inf for pow Nan (don't worry about the sign). 19 years ago
Bruce Momjian 9c88830ec4 Update pow() tests to check for both errno==EDOM _and_ result==Nan, and 19 years ago
Tom Lane 812095d604 Fix erroneous error tests in pow/exp. 19 years ago
Bruce Momjian 990fea847f Attempt to return proper overflow/underflow messages for platforms that 19 years ago
Bruce Momjian ada6fd63d9 For float4/8, remove errno checks for pow() and exp() because only some 19 years ago
Bruce Momjian 182676ae27 Some platforms set errno on pow(), exp() overflow, some do not, so if 19 years ago
Bruce Momjian cac2d912d9 finite() no longer used; remove finite() platform-specific 19 years ago
Bruce Momjian 7bb1cc50b2 Add #include <float.h> for platforms that still need it. 19 years ago
Bruce Momjian f9ac414c35 Fix float4/8 to handle Infinity and Nan consistently, e.g. Infinity is a 19 years ago
Bruce Momjian 426030eda1 Remove unnecessary parentheses in if() statements. 19 years ago
Tom Lane b2c04d5e6b Work around buggy strtod on (some versions of?) IRIX. Combination of 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Tom Lane 1249cf8f38 SQL2003-standard statistical aggregates, by Sergey Koposov. I've added only 20 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Tom Lane ae643747b1 Fix a passel of recently-committed violations of the rule 'thou shalt 20 years ago
Bruce Momjian 399a36a75d Prepare code to be built by MSVC: 20 years ago
Tom Lane 332ea60d23 Improve our private implementation of cbrt() to give results of the 20 years ago
Neil Conway 7992d0fbca Remove a few places that attempted to define INT_MAX, SCHAR_MAX, and 20 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 59bb147353 Update random() usage so ranges are inclusive/exclusive as required. 20 years ago
Bruce Momjian cf17131767 Remove comment on errno=0 lines, but add mention to port/strtol.c function. 20 years ago