Commit Graph

121 Commits (291ec6e45ebe1a87f930a250ad3c6672472b9b19)

Author SHA1 Message Date
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
Tom Lane 8472bf7a73 Allow float8, int8, and related datatypes to be passed by value on machines 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Tom Lane e75d365633 Fix int8mul so that overflow check is applied correctly for INT64_IS_BUSTED 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
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 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 f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane fa5e44017a Adjust the API for aggregate function calls so that a C-coded function 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
Tom Lane b3fcc816ae Add missing casts to unsigned char in recently-added isspace() calls. 22 years ago
Neil Conway e2ded829f6 Revise int2/int4/int8/float4/float8 input routines to allow for 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
Peter Eisentraut feb4f44d29 Message editing: remove gratuitous variations in message wording, standardize 23 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 b26dfb9522 Extend pg_cast castimplicit column to a three-way value; this allows us 24 years ago
Bruce Momjian e50f52a074 pgindent run. 24 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 24 years ago
Tom Lane 28a898ad54 Clean up INT64CONST conflicts. Make the pg_crc code use a macro called 24 years ago
Thomas G. Lockhart 547df0cc85 Support alternate storage scheme of 64-bit integer for date/time types. 24 years ago
Bruce Momjian ab786f6299 Make factorial(0) return 1, as per spec. 24 years ago
Tom Lane 2ec958721d Tweak int8in to accept -9223372036854775808, per recent discussion in 24 years ago
Tom Lane a0cd991987 Add int2-to-int8 and int8-to-int2 conversion routines. Needed to avoid 25 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 25 years ago
Tom Lane 0fc7779d2e Revise overflow test in int84() to avoid codegen bug in some older 25 years ago
Peter Eisentraut 968d7733a1 Rename config.h to pg_config.h and os.h to pg_config_os.h, fix a number of 25 years ago
Tom Lane 5f7c2bdb53 sum() on int2 and int4 columns now uses an int8, not numeric, accumulator 25 years ago
Bruce Momjian ba17165f55 This adds unary plus capability. No grammar changes, per Tom's request. 25 years ago
Bruce Momjian 9e1552607a pgindent run. Make it all clean. 25 years ago
Tom Lane b78d1bed07 Change float8-to-int8 conversion to round to nearest, rather than 25 years ago
Bruce Momjian 623bf843d2 Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 25 years ago
Tom Lane a27b691e29 Ensure that all uses of <ctype.h> functions are applied to unsigned-char 25 years ago
Peter Eisentraut b0c1c53a43 Integer binary operators, from Marko Kreen <marko@l-t.ee>. Renamed bitxor 26 years ago
Tom Lane d2d7865b5b Add int2-vs-int8 comparison operators. These are now necessary because 26 years ago
Peter Eisentraut cb292206c5 Remove a bunch of unused configure tests, in particular cases where 26 years ago
Jan Wieck 57d8080a40 TOAST 26 years ago