summaryrefslogtreecommitdiff
path: root/src/backend/utils
Commit message (Collapse)AuthorAgeFilesLines
* READ COMMITTED isolevel is implemented and is default now.Vadim B. Mikheev1999-01-291-1/+4
|
* Agg/Aggreg cleanup and datetime.sql patch.Bruce Momjian1999-01-251-6/+6
|
* Tighten coding of fmgr_isbuiltin() ... managed to speed it upTom Lane1999-01-251-24/+26
| | | | by about 10% which seems to be good for half a percent or so of a SELECT.
* Rename Aggreg to Aggref.Bruce Momjian1999-01-241-5/+5
|
* Improper addition of NaN/Infinity recognition to float8in()Tom Lane1999-01-241-4/+16
| | | | | | | 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.
* Add explicit buffering in backend libpq, to compensate forTom Lane1999-01-231-2/+9
| | | | buffering lost by not going through stdio anymore for client I/O.
* Relcache Size fix.Bruce Momjian1999-01-221-2/+2
|
* Fix for Size sizeof in cache code.Bruce Momjian1999-01-221-19/+19
|
* FOR UPDATE is in parser & rules.Vadim B. Mikheev1999-01-211-1/+4
|
* Fix "Y-2K" problem with two-digit BC dates being corrected by two millenia.Thomas G. Lockhart1999-01-202-16/+88
| | | | | | They are not corrected now. Allow the date type to accept BC dates. Share more date/time validation declarations through dt.h.
* TCL_ARRAYS option patches from Massimo Dal ZottoTom Lane1999-01-171-1/+7
|
* Add missing variable, per Massimo.Tom Lane1999-01-171-0/+2
|
* Apply Win32 patch from Horak Daniel.Bruce Momjian1999-01-177-7/+42
|
* Fix for missing NAN.Bruce Momjian1999-01-171-1/+5
|
* Replace direct inclusions of c.h with inclusion of postgres.h,Tom Lane1999-01-173-6/+6
| | | | to ensure that config.h is included as well.
* From: Magnus Hagander <mha@sollentuna.net>Marc G. Fournier1999-01-111-8/+3
| | | | | | | | | | | | Here is a first patch to cleanup the backend side of libpq. This patch removes all external dependencies on the "Pfin" and "Pfout" that are declared in pqcomm.h. These variables are also changed to "static" to make sure. Almost all the change is in the handler of the "copy" command - most other areas of the backend already used the correct functions. This change will make the way for cleanup of the internal stuff there - now that all the functions accessing the file descriptors are confined to a single directory.
* Be more careful to check input string lengths as well as valuesThomas G. Lockhart1999-01-101-20/+59
| | | | | | | | | | | | | 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...
* Handle "NaN" and "Infinity" for input values.Thomas G. Lockhart1999-01-101-3/+12
| | | | | | 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.
* Removed precision restriction in numeric_round() causingJan Wieck1999-01-051-2/+1
| | | | | | | overflow error on high precision calculations where temporary huge precision is required. Jan
* Just one more bugfix - this time in cmp_abs (cannot imagine thatJan Wieck1999-01-041-9/+12
| | | | | | | taking a logarithm with a 400 digit precision worked with that bug in place). Jan
* Fixed backend crashing bug in apply_typmod()Jan Wieck1999-01-041-2/+6
| | | | Jan
* Little fix for round() functionJan Wieck1999-01-041-2/+5
| | | | Jan
* Fix NAN code.Bruce Momjian1999-01-031-14/+4
|
* Fix for NAN generation.Bruce Momjian1999-01-031-3/+7
|
* Some security, since we now have vsnprintf, I remade an old patchBruce Momjian1999-01-015-18/+15
| | | | | | | with some extra ugly sprintfs fixed. More work in this area is needed still. Göran Thyni
* Fix for no platform NAN.Bruce Momjian1999-01-013-7/+13
|
* Change ordering of HAVE_TM_ZONE and HAVE_INT_TIMEZONE code blocksThomas G. Lockhart1998-12-313-52/+76
| | | | | | | | 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 :)
* Little precision fix for POWER(). I discovered problems with bigJan Wieck1998-12-301-4/+4
| | | | | | exponents. Jan
* Added NUMERIC data type with many builtin funcitons, operatorsJan Wieck1998-12-302-2/+3613
| | | | | | and aggregates. Jan
* SET TRANSACTION ISOLATION LEVEL ...Vadim B. Mikheev1998-12-181-14/+14
| | | | | LOCK TABLE IN ... MODE ...implemented
* Serialized mode works!Vadim B. Mikheev1998-12-161-1/+160
|
* Oops, sorry...meant to commit the patch from Thomas for tzn->CTZNameMarc G. Fournier1998-12-151-6/+2
|
* tzn undeclared in FreeBSD, commented out.Vadim B. Mikheev1998-12-151-1/+4
|
* Initial MVCC code.Vadim B. Mikheev1998-12-153-24/+203
| | | | New code for locking buffer' context.
* more cleanups...of note, appendStringInfo now performs like sprintf(),Marc G. Fournier1998-12-142-30/+34
| | | | | | | | | | 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.
* Initial attempt to clean up the code...Marc G. Fournier1998-12-141-1/+3
| | | | | | Switch sprintf() to snprintf() Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of code
* Current multi-byte related codes have a bug with SQL_ASCIIBruce Momjian1998-12-141-2/+3
| | | | | | | | | | | support. Included patches will solve it and should be applied to both trees. Also, it fix the problem with \c command of psql when switching different encoding databases. Regression tests passed. -- Tatsuo Ishii t-ishii@sra.co.jp
* Add routines to help with single-byte (internal) character type support.Thomas G. Lockhart1998-12-132-13/+39
|
* Switch around conditional code so that HAVE_TM_ZONE takes precedenceThomas G. Lockhart1998-12-131-15/+25
| | | | | | | 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.
* Define routines and catalog entries for string min()/max() functions.Thomas G. Lockhart1998-12-081-1/+33
| | | | | Extend new type coersion techniques to aggregates. Clean up a few elog() messages.
* Change exp() behavior to generate error on underflow ratherTom Lane1998-11-291-3/+4
| | | | | | than silently returning zero on some machines. Correct float8 regress test to agree. Also fix pow() overflow/underflow check to work correctly on HPUX.
* New HeapTuple structure/interface.Vadim B. Mikheev1998-11-279-89/+68
|
* Add text<->float8 and text<->float4 conversion functions.Thomas G. Lockhart1998-11-171-1/+91
| | | | | This will fix the problem reported by Jose' Soares when trying to cast a float to text.
* Very minor cleanup of no-op code.Thomas G. Lockhart1998-10-291-66/+9
|
* Add oid8neq.Bruce Momjian1998-10-291-1/+7
|
* Re-fix test for negative-integer return code that should beTom Lane1998-10-291-2/+2
| | | | testing for null-pointer return code...
* D'Arcy INET fix.Bruce Momjian1998-10-291-6/+4
|
* Eliminate need for cpp-from-stdin by using a temp file.Tom Lane1998-10-281-5/+9
|
* Reverse out addition of snprintf.Bruce Momjian1998-10-281-8/+4
|
* Fix for tprintf overruns from Göran Thyni.Bruce Momjian1998-10-271-4/+8
|