summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numutils.c
Commit message (Collapse)AuthorAgeFilesLines
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* Search contrib/tcl for tcl startup.Bruce Momjian1998-10-021-2/+2
|
* The pg_atoi() function uses strtol() to convert the string to numbers. SomeBruce Momjian1998-09-121-3/+14
| | | | | | | | | | | | | implementations of strtol() treat empty strings ("") as invalid arguments while others convert this (erroneously, IHMO) to zero (0). Assuming that the expected behaviour of pg_atoi() is to return 0 if it is passed an empty string, I am supplying the following patch to explictly check for an empty string in pg_atoi() and return 0 if the string is empty. The patch will also trap a NULL character pointer being passed to pg_atoi() and will use elog() to print out an error message if the input char pointer is NULL. Billy G. Allie
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-2/+2
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-8/+8
|
* Remove un-needed braces around single statements.Bruce Momjian1998-06-151-3/+1
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-8/+8
|
* Goodbye register keyword. Compiler knows better.Bruce Momjian1998-02-111-7/+7
|
* Change some ABORTS to ERROR. Add line number when COPY Failure.Bruce Momjian1998-01-051-10/+10
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-10/+10
|
* First clean compile without a "PORTNAME" variable being set...Marc G. Fournier1997-12-201-5/+1
|
* More cleanups. I can now compile without PORTNAME being defined nMarc G. Fournier1997-12-191-3/+6
| | | | | | | | | Makefile.global. End result, if all goes well, should allow for much easier porting, since there will no longer be a concept of a "port". Most, if not everything, *should* be determined by configure, or by the compiler itself. Still work to be done though :)
* Use limits.h for INT, SHRT, and SCHAR min and max values rather thanThomas G. Lockhart1997-11-171-7/+29
| | | | hardcoded values.
* Inline memset() as MemSet().Bruce Momjian1997-09-181-2/+2
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-64/+64
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-324/+363
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-191-1/+5
| | | | NOT_USED.
* Remove more (void) and fix -Wall warnings.Bruce Momjian1997-08-121-3/+3
|
* Fix pgproc names over 15 chars in output. Add strNcpy() function. remove ↵Bruce Momjian1997-08-121-2/+2
| | | | some (void) casts that are unnecessary.
* Add fcvt() as a check to configure so that we can get rid of the BSD44_derivedMarc G. Fournier1997-04-221-4/+2
| | | | | | type check in numutils.c:ftoa() Pointed out by: "Martin J. Laubach" <mjl@emsi.priv.at>
* Add ccsym to tools to determine OS/compiler specific symbolsMarc G. Fournier1997-04-131-2/+2
| | | | | Change BSD44_derived to __FreeBSD__ in numutils.c (need to know what NetBSD is referred to as...someone?)
* Here's the final set of patches to 6.0 (sup'd on 27/12/96) that allow a fullBruce Momjian1996-12-281-4/+4
| | | | | | | | | gmake of the code without interruption. There's also some tidy-up of the MAXPATHLEN stuff based on the assumption that all supported platforms have MAXPATHLEN defined in <sys/param.h>. (The only unknowns for the above are AIX and IRIX5.)
* More stuff to make it compile on various ports.Bryan Henderson1996-11-271-1/+2
|
* Another directory that compiles with no errors, and few warningsMarc G. Fournier1996-11-061-1/+6
|
* Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>Marc G. Fournier1996-11-061-2/+1
|
* more removal of PORTNAME_*Marc G. Fournier1996-10-311-5/+5
|
* - merging in Dr. George's tree with oursMarc G. Fournier1996-07-221-2/+4
| | | | | | | | | - src/backend/access - no changes - src/backend/utils - mostly cosmetic changes - ESCAPE_PATCH Added - src/Makefile.global changes merged
* fix: BSDi 2.1 requires a port seperate from BSDi 2.0{.1}Marc G. Fournier1996-07-161-2/+2
| | | | submitted by: Bruce Momjian (root@candle.pha.pa.us)
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-091-0/+401