Commit Graph

140 Commits (cc26ea9fe2e41e73c955ea75bea7a77fbd062d64)

Author SHA1 Message Date
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
Bruce Momjian 04a4821ade Attached is a patch implementing factorial(), returning numeric. Points 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Peter Eisentraut 7438af96fa More message editing, some suggested by Alvaro Herrera 22 years ago
Peter Eisentraut feb4f44d29 Message editing: remove gratuitous variations in message wording, standardize 22 years ago
Bruce Momjian 089003fb46 pgindent run. 22 years ago
Tom Lane 4b1c6695f1 Fix numeric_smaller, numeric_larger, float4smaller, float4larger, 22 years ago
Tom Lane b6a1d25b0a Error message editing in utils/adt. Again thanks to Joe Conway for doing 22 years ago
Tom Lane cdb8a844e6 Fix bug I introduced in recent rewrite of NUMERIC code: numeric to 23 years ago
Tom Lane 30f609484d Add binary I/O routines for a bunch more datatypes. Still a few to go, 23 years ago
Tom Lane 1dc3a62ec7 stddev() and variance() should return NULL when there is just one input 23 years ago
Tom Lane d72f6c7503 Reimplement NUMERIC datatype using base-10000 arithmetic; also improve 23 years ago
Tom Lane 2a1ef30b57 Prevent infinite loop in ln_var() due to roundoff error. 23 years ago
Tom Lane 31e69ccb21 Add explicit tests for division by zero to all user-accessible integer 23 years ago
Bruce Momjian bab3d29fba This patch adds some missing functions for float8 math operations, 23 years ago
Tom Lane b813d143ae Alter scale selection for NUMERIC division and transcendental functions 23 years ago
Tom Lane b26dfb9522 Extend pg_cast castimplicit column to a three-way value; this allows us 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Bruce Momjian 97ac103289 Remove sys/types.h in files that include postgres.h, and hence c.h, 23 years ago
Tom Lane 5cabcfccce Modify array operations to include array's element type OID in the 23 years ago
Bruce Momjian b4a5fa4518 Remove MAX/MIN() macros, use c.h Max/Min() instead. 24 years ago
Tom Lane 07009651ce Repair roundoff-error problem for stddev/variance results near zero, 24 years ago
Bruce Momjian ea08e6cd55 New pgindent run with fixes suggested by Tom. Patch manually reviewed, 24 years ago
Bruce Momjian 6783b2372e Another pgindent run. Fixes enum indenting, and improves #endif 24 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 24 years ago
Tom Lane e482dcb0a4 Make selectivity routines cope gracefully with NaNs, infinities, and 24 years ago
Thomas G. Lockhart 3e1beda2cd Implement precision support for timestamp and time, both with and without 24 years ago
Tom Lane 5f7c2bdb53 sum() on int2 and int4 columns now uses an int8, not numeric, accumulator 24 years ago
Bruce Momjian ba17165f55 This adds unary plus capability. No grammar changes, per Tom's request. 25 years ago
Tom Lane 2792374cff Ensure that btree sort ordering functions and boolean comparison operators 25 years ago