summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt
AgeCommit message (Collapse)Author
1999-01-25Agg/Aggreg cleanup and datetime.sql patch.Bruce Momjian
1999-01-24Rename Aggreg to Aggref.Bruce Momjian
1999-01-24Improper addition of NaN/Infinity recognition to float8in()Tom Lane
was causing it not to detect out-of-range float values, as evidenced by failure of float8 regression test. I corrected that logic and also modified expected float8 results to account for new error message generated for out-of-range inputs.
1999-01-21FOR UPDATE is in parser & rules.Vadim B. Mikheev
1999-01-20Fix "Y-2K" problem with two-digit BC dates being corrected by two millenia.Thomas G. Lockhart
They are not corrected now. Allow the date type to accept BC dates. Share more date/time validation declarations through dt.h.
1999-01-17TCL_ARRAYS option patches from Massimo Dal ZottoTom Lane
1999-01-17Apply Win32 patch from Horak Daniel.Bruce Momjian
1999-01-17Fix for missing NAN.Bruce Momjian
1999-01-10Be more careful to check input string lengths as well as valuesThomas G. Lockhart
when deciding whether a field is a year field. Assume *anything* longer than 2 digits (if it isn't a special-case doy) is a valid year. This should fix the "Y1K" and "Y10K" problems pointed out by Massimo recently. Check usage of BC to require a positive-valued year; before just used it to flip the sign of the year without checking. This led to problems near year zero. Allow a 5 digit "concatenated date" of 2 digit year plus day of year. Do 2->4 digit year correction for 6 and 5 digit "concatenated dates". Somehow forgot this originally. Guess not many folks use it...
1999-01-10Handle "NaN" and "Infinity" for input values.Thomas G. Lockhart
I think NAN is already guaranteed to be there from Jan's work on NUMERIC, but perhaps HUGE_VAL needs some #ifndef's in the same place. Should also include "-Infinity" as -HUGE_VAL sometime; not there yet.
1999-01-05Removed precision restriction in numeric_round() causingJan Wieck
overflow error on high precision calculations where temporary huge precision is required. Jan
1999-01-04Just one more bugfix - this time in cmp_abs (cannot imagine thatJan Wieck
taking a logarithm with a 400 digit precision worked with that bug in place). Jan
1999-01-04Fixed backend crashing bug in apply_typmod()Jan Wieck
Jan
1999-01-04Little fix for round() functionJan Wieck
Jan
1999-01-03Fix NAN code.Bruce Momjian
1999-01-03Fix for NAN generation.Bruce Momjian
1999-01-01Fix for no platform NAN.Bruce Momjian
1998-12-31Change ordering of HAVE_TM_ZONE and HAVE_INT_TIMEZONE code blocksThomas G. Lockhart
to give HAVE_TM_ZONE priority. This fixes glibc2 machines and any other machine which passes both tests in configure. Repair HAVE_TM_ZONE code which stuffs tm structure with date type values. Same problems as were originally there before v6.1, but never noticed. Thanks to Oleg for nagging :)
1998-12-30Little precision fix for POWER(). I discovered problems with bigJan Wieck
exponents. Jan
1998-12-30Added NUMERIC data type with many builtin funcitons, operatorsJan Wieck
and aggregates. Jan
1998-12-15Oops, sorry...meant to commit the patch from Thomas for tzn->CTZNameMarc G. Fournier
1998-12-15tzn undeclared in FreeBSD, commented out.Vadim B. Mikheev
1998-12-15Initial MVCC code.Vadim B. Mikheev
New code for locking buffer' context.
1998-12-14more cleanups...of note, appendStringInfo now performs like sprintf(),Marc G. Fournier
where you state a format and arguments. the old behavior required each appendStringInfo to have to have a sprintf() before it if any formatting was required. Also shortened several instances where there were multiple appendStringInfo() calls in a row, doing nothing more then adding one more word to the String, instead of doing them all in one call.
1998-12-13Add routines to help with single-byte (internal) character type support.Thomas G. Lockhart
1998-12-13Switch around conditional code so that HAVE_TM_ZONE takes precedenceThomas G. Lockhart
over HAVE_INT_TIMEZONE. This may help out linux/glibc2 and Dec Alpha. Included #error precompiler macros to catch cases where neither is defined but USE_POSIX_TIME is (shouldn't happen). Hopefully this isn't just a gcc-ism.
1998-12-08Define routines and catalog entries for string min()/max() functions.Thomas G. Lockhart
Extend new type coersion techniques to aggregates. Clean up a few elog() messages.
1998-11-29Change exp() behavior to generate error on underflow ratherTom Lane
than silently returning zero on some machines. Correct float8 regress test to agree. Also fix pow() overflow/underflow check to work correctly on HPUX.
1998-11-27New HeapTuple structure/interface.Vadim B. Mikheev
1998-11-17Add text<->float8 and text<->float4 conversion functions.Thomas G. Lockhart
This will fix the problem reported by Jose' Soares when trying to cast a float to text.
1998-10-29Very minor cleanup of no-op code.Thomas G. Lockhart
1998-10-29Add oid8neq.Bruce Momjian
1998-10-29Re-fix test for negative-integer return code that should beTom Lane
testing for null-pointer return code...
1998-10-29D'Arcy INET fix.Bruce Momjian
1998-10-26Get rid of some minor compiler warnings.Tom Lane
1998-10-26Fix some actual bugs exposed by compiler warnings.Tom Lane
(Someone forgot whether their subroutine signaled errors by a NULL pointer return value, or a negative integer... I'm surprised gcc -Wall doesn't catch this...)
1998-10-23rename file.Bruce Momjian
1998-10-22INET/CIDR cleanup from D'Arcy.Bruce Momjian
1998-10-22Remove duplicate CIDR funcs by using coerce entries.Bruce Momjian
1998-10-22CIDR/INET fixes from D'Arcy.Bruce Momjian
1998-10-22Fix for funcs on INET/CIDR.Bruce Momjian
1998-10-22Fix function calls to INET/CIDR functions. Added cidr_out.Bruce Momjian
1998-10-21New CIDR type and fixed INET type, from D'Arcy.Bruce Momjian
1998-10-21Add RIP notice for Paul.Bruce Momjian
1998-10-21INET fix from D'Arcy.Bruce Momjian
1998-10-20Remove unused INET functions for D'Arcy.Bruce Momjian
1998-10-17Disable inet.Bruce Momjian
1998-10-17Re-enable inet code.Bruce Momjian
1998-10-12Fix for inet from Tom H.Bruce Momjian
1998-10-12Fix for version.c warning.Bruce Momjian