summaryrefslogtreecommitdiff
path: root/src/include/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update CVS HEAD for 2007 copyright. Back branches are typically notBruce Momjian2007-01-052-4/+4
| | | | back-stamped for this.
* Update copyright for 2006. Update scripts.Bruce Momjian2006-03-052-4/+4
|
* Standard pgindent run for 8.1.Bruce Momjian2005-10-151-3/+3
|
* Tag appropriate files for rc3PostgreSQL Daemon2004-12-312-4/+4
| | | | | | | | Also performed an initial run through of upgrading our Copyright date to extend to 2005 ... first run here was very simple ... change everything where: grep 1996-2004 && the word 'Copyright' ... scanned through the generated list with 'less' first, and after, to make sure that I only picked up the right entries ...
* Update copyright to 2004.Bruce Momjian2004-08-292-4/+4
|
* Remove an unused (and empty) header file.Neil Conway2004-05-141-17/+0
|
* make sure the $Id tags are converted to $PostgreSQL as well ...PostgreSQL Daemon2003-11-293-3/+3
|
* Update copyrights to 2003.Bruce Momjian2003-08-043-6/+6
|
* pgindent run.Bruce Momjian2003-08-041-3/+4
|
* Infrastructure for upgraded error reporting mechanism. elog.c isTom Lane2003-04-241-4/+20
| | | | | | | rewritten and the protocol is changed, but most elog calls are still elog calls. Also, we need to contemplate mechanisms for controlling all this functionality --- eg, how much stuff should appear in the postmaster log? And what API should libpq expose for it?
* Second round of FE/BE protocol changes. Frontend->backend messages nowTom Lane2003-04-191-1/+11
| | | | have length counts, and COPY IN data is packetized into messages.
* Update copyright to 2002.Bruce Momjian2002-06-203-6/+6
|
* New pgindent run with fixes suggested by Tom. Patch manually reviewed,Bruce Momjian2001-11-053-6/+6
| | | | initdb/regression tests pass.
* Another pgindent run. Fixes enum indenting, and improves #endifBruce Momjian2001-10-283-4/+7
| | | | spacing. Also adds space for one-line comments.
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-253-8/+6
| | | | tests pass.
* Further cleanup of dynahash.c API, in pursuit of portability andTom Lane2001-10-051-24/+0
| | | | | | | | | readability. Bizarre '(long *) TRUE' return convention is gone, in favor of just raising an error internally in dynahash.c when we detect hashtable corruption. HashTableWalk is gone, in favor of using hash_seq_search directly, since it had no hope of working with non-LONGALIGNable datatypes. Simplify some other code that was made undesirably grotty by promixity to HashTableWalk.
* Consistently use gcc's __attribute__((format)) to check sprintf-styleTom Lane2001-10-031-2/+4
| | | | | format strings wherever possible. Remarkably, this exercise didn't turn up any inconsistencies, but it seems a good idea for the future.
* pgindent run. Make it all clean.Bruce Momjian2001-03-221-3/+3
|
* Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.Bruce Momjian2001-01-244-8/+8
|
* Clean up non-reentrant interface for hash_seq/HashTableWalk, so thatTom Lane2001-01-021-3/+3
| | | | | | | | starting a new hashtable search no longer clobbers any other search active anywhere in the system. Fix RelationCacheInvalidate() so that it will not crash or go into an infinite loop if invoked recursively, as for example by a second SI Reset message arriving while we are still processing a prior one.
* Change SearchSysCache coding conventions so that a reference count isTom Lane2000-11-161-15/+27
| | | | | | | maintained for each cache entry. A cache entry will not be freed until the matching ReleaseSysCache call has been executed. This eliminates worries about cache entries getting dropped while still in use. See my posting to pg-hackers of even date for more info.
* First phase of memory management rewrite (see backend/utils/mmgr/READMETom Lane2000-06-281-115/+0
| | | | | | | | | | | | | for details). It doesn't really do that much yet, since there are no short-term memory contexts in the executor, but the infrastructure is in place and long-term contexts are handled reasonably. A few long- standing bugs have been fixed, such as 'VACUUM; anything' in a single query string crashing. Also, out-of-memory is now considered a recoverable ERROR, not FATAL. Eliminate a large amount of crufty, now-dead code in and around memory management. Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and backend startup.
* Mark functions as static and ifdef NOT_USED as appropriate.Bruce Momjian2000-06-081-2/+1
|
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-122-4/+4
|
* 2. trigger.c fails to compile due to a syntax error. It containsBruce Momjian2000-02-131-2/+2
| | | | | | | | | | | | | | a switch statement that has an empty default label. A label of a switch statement must be followed by a statement (or a label which is followed by a statement (or a label which ...)). 3. Files include stringinfo.h failed to compile. The macro, 'appendStringInfoCharMacro' is implemented with a '?:' operation that returns a void expression for the true part and a char expresion for the false part. Both the true and false parts of the '?:' oper- ator must return the same type. Billy G. Allie
* Fix problems seen in parallel regress tests when SI buffer overruns (causingTom Lane2000-01-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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-265-10/+15
| | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
* Change a few routines into macros to improve speed of COPY IN inner loop.Tom Lane2000-01-221-2/+12
|
* Remove now-dead sort modules.Tom Lane1999-10-171-22/+0
|
* Minor improvements to stringinfo package to make it moreTom Lane1999-08-311-12/+1
| | | | robust, since it's about to get used much more heavily.
* Change #include's to use <> and "" as appropriate.Bruce Momjian1999-07-151-2/+2
|
* Fix some latent bugs in dllist.c (carelessness about settingTom Lane1999-05-311-1/+2
| | | | | 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-12/+12
|
* Revise backend libpq interfaces so that messages to the frontendTom Lane1999-04-251-15/+71
| | | | | | 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-19/+19
|
* Fixed nodeToString() to put out "<>" for NULL strings again.Jan Wieck1998-12-181-1/+7
| | | | | | More cleanups to appendStringInfo() usage in node/outfuncs.c. Jan
* more cleanups...of note, appendStringInfo now performs like sprintf(),Marc G. Fournier1998-12-141-2/+2
| | | | | | | | | | 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.
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-016-14/+13
|
* Fix spelling of "includingBruce Momjian1998-03-201-2/+2
| | | | Edward J. Huff
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-2/+3
|
* Fix prototypes so they don't look like function definitions.Bruce Momjian1998-01-241-3/+2
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-084-14/+13
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-084-41/+41
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-076-131/+138
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-192-7/+3
| | | | NOT_USED.
* All external function definitions now have prototypes that are checked.Bruce Momjian1996-11-101-2/+2
|
* Okay...this pretty much cleans out the include files.Marc G. Fournier1996-11-061-2/+1
| | | | | | | | | | I'm able to get through a 'make' of the backend with no errors except the occasional 'might not be initialized error', which is nothing major, just annoying. Have a few patches from D'Arcy to incorporate, but am waiting until I can get a clean compile first, which I'm hoping to have before bed, or sometime tomorrow.
* another one quickly done upMarc G. Fournier1996-11-051-2/+2
|
* remove:Marc G. Fournier1996-10-313-6/+3
| | | | | #include "postgres.h" #include "c.h"