summaryrefslogtreecommitdiff
path: root/src/backend/port/getrusage.c
Commit message (Collapse)AuthorAgeFilesLines
* Move libc replacement files from src/backend/port to src/port.Bruce Momjian2002-07-181-58/+0
|
* Add stdio for NULL define.Bruce Momjian1998-12-121-1/+2
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-5/+5
|
* Currently, building on any platform that hasn't got getrusage()Bruce Momjian1998-07-131-20/+13
| | | | | | | | | | | | | | | | | | | | | | | requires manual editing of src/backend/port/getrusage.c, because its substitute version of getrusage is #if'd out. There is no good reason for that, because configure won't even include the file into the Makefile unless the platform hasn't got getrusage. Furthermore, we only have one working substitute version of getrusage --- the alleged HPUX syscall-based code doesn't work. (It causes a coredump because the syscall returns a struct rusage that's much larger than the stub struct defined in src/include/rusagestub.h.) The times()-based emulation works fine on HPUX, however. I propose, therefore, that getrusage.c should just unconditionally compile the times-based version, and rely on configure to include the file only if needed. This will be one less manual configuration step on all platforms that need this code. Patch attached. Tom Lane.
* Solaris cleanup.Bruce Momjian1998-06-191-3/+3
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-10/+14
|
* There is no more 'port-protos.h', so don't try to include itMarc G. Fournier1998-02-241-2/+1
| | | | From: Frank Ridderbusch <ridderbusch.pad@sni.de>
* Goodbye register keyword. Compiler knows better.Bruce Momjian1998-02-111-2/+2
|
* 1. "#ifdef 0" is bad C. ifdef is for checking a macro and 0 isMarc G. Fournier1998-02-011-7/+7
| | | | | | an illegal macro name. Correct syntax is "#if 0". This is in... From: Darren King <darrenk@insightdist.com>
* More cleanups...only need one rusagestub.hMarc G. Fournier1997-12-191-0/+2
|
* More cleanups...several ports are major redundancies of other portsMarc G. Fournier1997-12-191-0/+12
|
* port.c no longer required...individual functions that were in there areMarc G. Fournier1997-12-191-0/+47
auto-generated via configure individual functions in individual files