summaryrefslogtreecommitdiff
path: root/src/backend/lib
Commit message (Collapse)AuthorAgeFilesLines
* Mark functions as static and ifdef NOT_USED as appropriate.Bruce Momjian2000-06-081-1/+3
|
* Generated header files parse.h and fmgroids.h are now copied intoTom Lane2000-05-291-6/+2
| | | | | the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-122-9/+13
|
* Fix problems seen in parallel regress tests when SI buffer overruns (causingTom Lane2000-01-311-4/+4
| | | | | | | | | | | | | | | | | | | | | | | syscache and relcache flushes). Relcache entry rebuild now preserves original tupledesc, rewrite rules, and triggers if possible, so that pointers to these things remain valid --- if these things change while relcache entry has positive refcount, we elog(ERROR) to avoid later crash. Arrange for xact-local rels to be rebuilt when an SI inval message is seen for them, so that they are updated by CommandCounterIncrement the same as regular rels. (This is useful because of Hiroshi's recent changes to process our own SI messages at CommandCounterIncrement time.) This allows simplification of some routines that previously hacked around the lack of an automatic update. catcache now keeps its own copy of tupledesc for its relation, rather than depending on the relcache's copy; this avoids needing to reinitialize catcache during a cache flush, which saves some cycles and eliminates nasty circularity problems that occur if a cache flush happens while trying to initialize a catcache. Eliminate a number of permanent memory leaks that used to happen during catcache or relcache flush; not least of which was that catcache never freed any cached tuples! (Rule parsetree storage is still leaked, however; will fix that separately.) Nothing done yet about code that uses tuples retrieved by SearchSysCache for longer than is safe.
* Add:Bruce Momjian2000-01-266-12/+18
| | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
* New LDOUT makefile variable for QNX os.Bruce Momjian1999-12-131-2/+2
|
* Make LD -r as macros that can be changed for QNX.Bruce Momjian1999-12-091-2/+2
|
* Inline check for full buffer in appendStringInfoChar.Tom Lane1999-11-011-4/+3
|
* Cope with versions of vsnprintf() written by people whoTom Lane1999-09-081-2/+7
| | | | don't read man pages...
* Minor improvements to stringinfo package to make it moreTom Lane1999-08-311-27/+32
| | | | robust, since it's about to get used much more heavily.
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-171-3/+1
|
* Final cleanup.Bruce Momjian1999-07-162-4/+4
|
* Change #include's to use <> and "" as appropriate.Bruce Momjian1999-07-155-15/+15
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-153-11/+3
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-151-2/+1
|
* Cleanup of /include #include's, for 6.6 only.Bruce Momjian1999-07-141-1/+2
|
* Ooops ... dllist.c can't use Assert() when it is compiled intoTom Lane1999-06-031-2/+11
| | | | libpq ...
* Fix some latent bugs in dllist.c (carelessness about settingTom Lane1999-05-311-33/+63
| | | | | all fields that should be set). Add a MoveToFront primitive to speed up one of the hotspots in SearchSysCache.
* Make functions static or NOT_USED as appropriate.Bruce Momjian1999-05-261-1/+3
|
* pgindent run over code.Bruce Momjian1999-05-252-17/+19
|
* Revise backend libpq interfaces so that messages to the frontendTom Lane1999-04-251-85/+131
| | | | | | can be generated in a buffer and then sent to the frontend in a single libpq call. This solves problems with NOTICE and ERROR messages generated in the middle of a data message or COPY OUT operation.
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-136-16/+16
|
* more cleanups...of note, appendStringInfo now performs like sprintf(),Marc G. Fournier1998-12-141-19/+21
| | | | | | | | | | 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.
* Fix a potential infinite loop in appendStringInfo: would lockTom Lane1998-11-081-19/+20
| | | | | | up if first string to be appended to an empty StringInfo was longer than the initial space allocation. Also speed it up slightly.
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-014-21/+21
|
* Remove un-needed braces around single statements.Bruce Momjian1998-06-153-19/+3
|
* ASSERT fixes.Bruce Momjian1998-04-061-2/+2
|
* There's a patch attached to fix gcc 2.8.x warnings, except for theBruce Momjian1998-03-302-314/+2
| | | | | | | | | | | | | | | | | | | | | | | | yyerror ones from bison. It also includes a few 'enhancements' to the C programming style (which are, of course, personal). The other patch removes the compilation of backend/lib/qsort.c, as qsort() is a standard function in stdlib.h and can be used any where else (and it is). It was only used in backend/optimizer/geqo/geqo_pool.c, backend/optimizer/path/predmig.c, and backend/storage/page/bufpage.c > > Some or all of these changes might not be appropriate for v6.3, since we > > are in beta testing and since they do not affect the current functionality. > > For those cases, how about submitting patches based on the final v6.3 > > release? There's more to come. Please review these patches. I ran the regression tests and they only failed where this was expected (random, geo, etc). Cheers, Jeroen
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-263-21/+21
|
* Goodbye register keyword. Compiler knows better.Bruce Momjian1998-02-111-8/+8
|
* Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian1998-01-071-4/+4
|
* Cleanup of outnodes.Bruce Momjian1998-01-071-2/+2
|
* Change some labels in bootparse to make ctags happy. Clean up ↵Bruce Momjian1998-01-061-2/+4
| | | | outfunc/readfunc code and add missing fields for Query structure and new Union fields. Fix optimizer bug shown in new \do command. Change WARN to ERROR in contrib and regression stuff.
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-4/+4
|
* Major cleanout of PORTNAME variables from Makefiles...bound to screw upMarc G. Fournier1997-12-201-5/+1
| | | | some of the ports...
* First pass through, of many to come, towards making the whole sourceMarc G. Fournier1997-12-171-4/+6
| | | | | | tree "non-PORTNAME" dependent. Technically, anything that is PORTNAME dependent should be able to be derived at compile time, through configure or through gcc
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-083-18/+18
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-086-61/+61
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-077-405/+457
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-192-3/+8
| | | | NOT_USED.
* Remove more (void) and fix -Wall warnings.Bruce Momjian1997-08-121-2/+2
|
* Fix pgproc names over 15 chars in output. Add strNcpy() function. remove ↵Bruce Momjian1997-08-121-2/+2
| | | | some (void) casts that are unnecessary.
* From: "D'Arcy J.M. Cain" <darcy@druid.net>Marc G. Fournier1997-06-061-13/+5
| | | | | | | Subject: [PATCHES] backend/lib/fstack.c - The FixedStackIsValid so obviously needs to be a macro - FixedStackContains only called if assert checking on
* Remove CFLAGS_SL from lib/MakefileBruce Momjian1997-01-141-2/+2
|
* Shared library cleanup for -fpic.Bruce Momjian1997-01-121-4/+2
|
* Makefile's -fpic only for gccBruce Momjian1997-01-101-2/+4
|
* final fix for shared library under BSD44_derivedMarc G. Fournier1997-01-051-2/+2
| | | | Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
* All external function definitions now have prototypes that are checked.Bruce Momjian1996-11-101-2/+2
|
* Makefile cleanup after reorganizationBruce Momjian1996-11-091-2/+3
|
* Slowly getting faster to make sure it compiles...still needs cleaningMarc G. Fournier1996-11-067-34/+37
| | | | up, but one thing at a time :)