summaryrefslogtreecommitdiff
path: root/src/include/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* Add a hack so that get_type_io_data() can work from bootstrap.c'sTom Lane2006-08-151-1/+10
| | | | | | internal TypInfo table in bootstrap mode. This allows array_in and array_out to be used during early bootstrap, which eliminates the former obstacle to giving OUT parameters to built-in functions.
* Allow include files to compile own their own.Bruce Momjian2006-07-131-3/+1
| | | | | | | Strip unused include files out unused include files, and add needed includes to C files. The next step is to remove unused include files in C files.
* Make all our flex and bison files use %option prefix or %name-prefixTom Lane2006-03-071-3/+5
| | | | | | (respectively) to rename yylex and related symbols. Some were doing it this way already, while others used not-too-reliable sed hacks in the Makefiles. It's all nice and consistent now.
* Update copyright for 2006. Update scripts.Bruce Momjian2006-03-051-2/+2
|
* Tag appropriate files for rc3PostgreSQL Daemon2004-12-311-2/+2
| | | | | | | | 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-291-2/+2
|
* Back out pg_autovacuum commit after cvs clean failure causes commit.Bruce Momjian2004-07-211-2/+1
|
* lease find enclosed a patch that matches the PL/Perl documentationBruce Momjian2004-07-211-1/+2
| | | | | | (fairly closely, I hope) to the current PL/Perl implementation. David Fetter
* Separate out bgwriter code into a logically separate module, ratherTom Lane2004-05-291-4/+2
| | | | | | | | | than being random pieces of other files. Give bgwriter responsibility for all checkpoint activity (other than a post-recovery checkpoint); so this child process absorbs the functionality of the former transient checkpoint and shutdown subprocesses. While at it, create an actual include file for postmaster.c, which for some reason never had its own file before.
* Code review for EXEC_BACKEND changes. Reduce the number of #ifdefs byTom Lane2004-05-281-2/+2
| | | | | | | | | | | about a third, make it work on non-Windows platforms again. (But perhaps I broke the WIN32 code, since I have no way to test that.) Fold all the paths that fork postmaster child processes to go through the single routine SubPostmasterMain, which takes care of resurrecting the state that would normally be inherited from the postmaster (including GUC variables). Clean up some places where there's no particularly good reason for the EXEC and non-EXEC cases to work differently. Take care of one or two FIXMEs that remained in the code.
* make sure the $Id tags are converted to $PostgreSQL as well ...PostgreSQL Daemon2003-11-291-1/+1
|
* Background writer processJan Wieck2003-11-191-2/+3
| | | | | | | | This first part of the background writer does no syncing at all. It's only purpose is to keep the LRU heads clean so that regular backends seldom to never have to call write(). Jan
* Update copyrights to 2003.Bruce Momjian2003-08-041-2/+2
|
* Update copyright to 2002.Bruce Momjian2002-06-201-2/+2
|
* Support toasting of shared system relations, and provide toast tables forTom Lane2002-04-271-2/+2
| | | | | | | | | pg_database, pg_shadow, pg_group, all of which now have potentially-long fields. Along the way, get rid of SharedSystemRelationNames list: shared rels are now identified in their include/pg_catalog/*.h files by a BKI_SHARED_RELATION macro, while indexes and toast rels inherit sharedness automatically from their parent table. Fix some bugs with failure to detoast pg_group.grolist during ALTER GROUP.
* pg_class has a relnamespace column. You can create and access tablesTom Lane2002-03-261-2/+2
| | | | | | in schemas other than the system namespace; however, there's no search path yet, and not all operations work yet on tables outside the system namespace.
* Commit to match discussed elog() changes. Only update is that LOG isBruce Momjian2002-03-021-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | now just below FATAL in server_min_messages. Added more text to highlight ordering difference between it and client_min_messages. --------------------------------------------------------------------------- REALLYFATAL => PANIC STOP => PANIC New INFO level the prints to client by default New LOG level the prints to server log by default Cause VACUUM information to print only to the client NOTICE => INFO where purely information messages are sent DEBUG => LOG for purely server status messages DEBUG removed, kept as backward compatible DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1 added DebugLvl removed in favor of new DEBUG[1-5] symbols New server_min_messages GUC parameter with values: DEBUG[5-1], INFO, NOTICE, ERROR, LOG, FATAL, PANIC New client_min_messages GUC parameter with values: DEBUG[5-1], LOG, INFO, NOTICE, ERROR, FATAL, PANIC Server startup now logged with LOG instead of DEBUG Remove debug_level GUC parameter elog() numbers now start at 10 Add test to print error message if older elog() values are passed to elog() Bootstrap mode now has a -d that requires an argument, like postmaster
* New pgindent run with fixes suggested by Tom. Patch manually reviewed,Bruce Momjian2001-11-051-2/+2
| | | | initdb/regression tests pass.
* Another pgindent run. Fixes enum indenting, and improves #endifBruce Momjian2001-10-281-1/+2
| | | | spacing. Also adds space for one-line comments.
* pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian2001-10-251-2/+1
| | | | tests pass.
* Make OIDs optional, per discussions in pghackers. WITH OIDS is still theTom Lane2001-08-101-2/+2
| | | | | | | | | | | | default, but OIDS are removed from many system catalogs that don't need them. Some interesting side effects: TOAST pointers are 20 bytes not 32 now; pg_description has a three-column key instead of one. Bugs fixed in passing: BINARY cursors work again; pg_class.relhaspkey has some usefulness; pg_dump dumps comments on indexes, rules, and triggers in a valid order. initdb forced.
* Make bootstrap debug messages more readable. Clean up some clutter.Peter Eisentraut2001-05-121-4/+4
|
* Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.Bruce Momjian2001-01-241-2/+2
|
* Auto checkpoint creation.Vadim B. Mikheev2000-11-091-1/+7
|
* Cleanup of code for creating index entries. Functional indexes withTom Lane2000-07-141-7/+7
| | | | | | | | | | | | | pass-by-ref data types --- eg, an index on lower(textfield) --- no longer leak memory during index creation or update. Clean up a lot of redundant code ... did you know that copy, vacuum, truncate, reindex, extend index, and bootstrap each basically duplicated the main executor's logic for extracting information about an index and preparing index entries? Functional indexes should be a little faster now too, due to removal of repeated function lookups. CREATE INDEX 'opt_type' clause is deimplemented by these changes, but I haven't removed it from the parser yet (need to merge with Thomas' latest change set first).
* Get rid of IndexIsUniqueNoCache() kluge by the simple expedient ofTom Lane2000-06-171-9/+6
| | | | | | | passing the index-is-unique flag to index build routines (duh! ... why wasn't it done this way to begin with?). Aside from eliminating an eyesore, this should save a few milliseconds in btree index creation because a full scan of pg_index is not needed any more.
* Add:Bruce Momjian2000-01-261-2/+3
| | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
* Clean up longstanding gcc warnings by adding missing externTom Lane2000-01-201-1/+4
| | | | declarations.
* Change #include's to use <> and "" as appropriate.Bruce Momjian1999-07-151-4/+4
|
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-4/+3
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-2/+2
|
* 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-081-5/+5
|
* Add typdefs to pgindent run.Bruce Momjian1997-09-081-2/+2
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-19/+19
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-31/+33
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-191-8/+1
| | | | NOT_USED.
* Change includes from "" to <>Marc G. Fournier1996-11-081-4/+4
|
* Compile and warning cleanupBruce Momjian1996-11-081-3/+5
|
* Okay...this pretty much cleans out the include files.Marc G. Fournier1996-11-061-16/+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.
* Clean up th ecompile process by centralizing the include filesMarc G. Fournier1996-08-281-0/+78
- code compile tested, but due to a yet unresolved problem with parse.h's creation, compile not completed...