Commit Graph

96 Commits (6ba139dc5a8a5cce42f0508c14a8b42f4fb6b1cc)

Author SHA1 Message Date
Tom Lane 1609797c25 Clean up the #include mess a little. 15 years ago
Bruce Momjian 6416a82a62 Remove unnecessary #include references, per pgrminclude script. 15 years ago
Robert Haas 062780ec35 Add overflow checks to int4 and int8 versions of generate_series(). 15 years ago
Tom Lane d64713df7e Pass collations to functions in FunctionCallInfoData, not FmgrInfo. 15 years ago
Tom Lane 2a26639a5d On further reflection, we'd better do the same in int.c. 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Robert Haas 3d4b0ab29c Reject invalid input in int2vectorin. 16 years ago
Heikki Linnakangas 7be39bb0be Tigthen binary receive functions so that they reject values that the text 17 years ago
Tom Lane d0a368c656 Install a workaround for a longstanding gcc bug that allows SIGFPE traps 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane 8acfc7594d Tweak the overflow checks in integer division functions to complain if the 17 years ago
Tom Lane b163baa89c Clean up some problems with redundant cross-type arithmetic operators. Add 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 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
Bruce Momjian 8b4ff8b6a1 Wording cleanup for error messages. Also change can't -> cannot. 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 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 f99a569a2e pgindent run for 8.2. 20 years ago
Bruce Momjian e6a7b01930 Avoid use of C commment inside C comment from recent Win32 int overflow patch. 20 years ago
Bruce Momjian 9fc6f4e1ae Win32 can't catch the exception thrown by INT_MIN / -1 or INT_MIN * -1, 20 years ago
Neil Conway 7992d0fbca Remove a few places that attempted to define INT_MAX, SCHAR_MAX, and 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane 9356877bba Repair oidvectorrecv and int2vectorrecv, which I broke while changing 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 8826fe859f Missed adding extra argument to array_recv in a couple of places 21 years ago
Tom Lane 70c9763d48 Convert oidvector and int2vector into variable-length arrays. This 21 years ago
Neil Conway 5285b35763 Add explicit casts between int4 and boolean. Patch from Sean Chittenden, 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Tom Lane 4171bb869f Detect overflow in integer arithmetic operators (integer, smallint, and 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 12661642c8 Add function (actually an int4 and an int8 version) that generates 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
Bruce Momjian f3c3deb7d0 Update copyrights to 2003. 23 years ago
Bruce Momjian 089003fb46 pgindent run. 23 years ago
Tom Lane b6a1d25b0a Error message editing in utils/adt. Again thanks to Joe Conway for doing 23 years ago
Tom Lane 5ecd4e3f30 Binary send/receive routines for a few basic datatypes --- enough for 23 years ago
Tom Lane 31e69ccb21 Add explicit tests for division by zero to all user-accessible integer 23 years ago
Tom Lane b663f3443b Add a bunch of pseudo-types to replace the behavior formerly associated 24 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 24 years ago
Bruce Momjian 585fef1671 Improve readability of factorial, from Florian Weimer. 24 years ago
Bruce Momjian 8a3f34b558 Fix for factorial(0::int2) returning 1, from sugita@sra.co.jp. 24 years ago
Bruce Momjian ab786f6299 Make factorial(0) return 1, as per spec. 24 years ago
Bruce Momjian ba17165f55 This adds unary plus capability. No grammar changes, per Tom's request. 25 years ago