Commit Graph

71 Commits (253e30c001e8e870a303836a1e321311a02294e2)

Author SHA1 Message Date
Tom Lane 253e30c001 Fix assorted integer-overflow hazards in varbit.c. 9 years ago
Noah Misch 0b7026d964 Predict integer overflow to avoid buffer overruns. 12 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Tom Lane 84fc571395 Rename the C functions bitand(), bitor() to bit_and(), bit_or(). 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
Tom Lane 9507c8a1db Add get_bit/set_bit functions for bit strings, paralleling those for bytea, 16 years ago
Tom Lane 50626efe0a Fix 3-parameter form of bit substring() to throw error for negative length, 16 years ago
Tom Lane e4a6ebf7de Make bit/varbit substring() treat any negative length as meaning "all the rest 16 years ago
Tom Lane 901be0fad4 Remove all the special-case code for INT64_IS_BUSTED, per decision that 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Tom Lane a4e035b2f1 Fix integer-to-bit-string conversions to handle the first fractional byte 16 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 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 1cee06ac02 Fix potential access-off-the-end-of-memory in varbit_out(): it fetched the 19 years ago
Tom Lane 23347231a5 Tweak the API for per-datatype typmodin functions so that they are passed 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 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 e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Bruce Momjian 261114a23f I have added these macros to c.h: 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 8889685555 Suppress signed-vs-unsigned-char warnings. 21 years ago
Tom Lane d78397d301 Change typreceive function API so that receive functions get the same 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 d529989149 While perusing SQL92 I realized that we are delivering the wrong SQLSTATE 22 years ago
Tom Lane d70a42e642 Represent type-specific length coercion functions as pg_cast entries, 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
Peter Eisentraut 2d13472c9e OK, some of these syntax errors should be given other codes. 23 years ago
Peter Eisentraut 33d4c828fd Some "feature not supported" errors are better syntax errors, because the 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
Bruce Momjian 98b6f37e47 Make debug_ GUC varables output DEBUG1 rather than LOG, and mention in 23 years ago
Tom Lane 30f609484d Add binary I/O routines for a bunch more datatypes. Still a few to go, 23 years ago
Bruce Momjian 9b12ab6d5d Add new palloc0 call as merge of palloc and MemSet(0). 23 years ago
Bruce Momjian 75fee4535d Back out use of palloc0 in place if palloc/MemSet. Seems constant len 23 years ago
Bruce Momjian 8fee9615cc Merge palloc()/MemSet(0) calls into a single palloc0() call. 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
Tom Lane 5cabcfccce Modify array operations to include array's element type OID in the 24 years ago
Thomas G. Lockhart ce5dc562e6 Allow bit string constants without fully-specified length declaration. 24 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 24 years ago