aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file
Commit message (Collapse)AuthorAge
...
* Make LD -r as macros that can be changed for QNX.Bruce Momjian1999-12-09
|
* Reduce ReleaseLruFile failure from FATAL to ERROR grade; offhand I don'tTom Lane1999-11-23
| | | | see that this should be a worse way to fail to open a file than any other.
* BufFileSeek's behavior at segment boundaries wasn't whatTom Lane1999-10-19
| | | | logfile.c wanted ... seems easier to fix BufFileSeek.
* Change fd.c so that temp files are closed and deleted atTom Lane1999-10-17
| | | | | | | proc_exit time. I discovered that if the frontend closes the connection when you're inside a transaction block, there is nothing ensuring that temp files go away ... I wonder whether proc_exit ought to try to do an explicit transaction abort?
* Second phase of psort reconstruction project: add bookkeeping logic toTom Lane1999-10-16
| | | | | | recycle storage within sort temp file on a block-by-block basis. This reduces peak disk usage to essentially just the volume of data being sorted, whereas it had been about 4x the data volume before.
* Split 'BufFile' routines out of fd.c into a new module, buffile.c. ExtendTom Lane1999-10-13
| | | | | | | | BufFile so that it handles multi-segment temporary files transparently. This allows sorts and hashes to work with data exceeding 2Gig (or whatever the local limit on file size is). Change psort.c to use relative seeks instead of absolute seeks for backwards scanning, so that it won't fail when the data volume exceeds 2Gig.
* Transaction log manager core code.Vadim B. Mikheev1999-09-27
| | | | It doesn't work currently but also don't break anything -:)
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-17
|
* Update #include cleanupsBruce Momjian1999-07-16
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-15
|
* Cleanup of /include #include's, for 6.6 only.Bruce Momjian1999-07-14
|
* Rename pg_temp to pg_sorttemp so it does not conflict with temp table names.Bruce Momjian1999-07-08
|
* Make functions static or NOT_USED as appropriate.Bruce Momjian1999-05-26
|
* Another pgindent run. Sorry folks.Bruce Momjian1999-05-25
|
* pgindent run over code.Bruce Momjian1999-05-25
|
* Add 'temporary file' facility to fd.c, and arrange for tempTom Lane1999-05-09
| | | | | | | | | files to be closed automatically at transaction abort or commit, should they still be open. Also close any still-open stdio files allocated with AllocateFile at abort/commit. This should eliminate problems with leakage of file descriptors after an error. Also, put in some primitive buffered-IO support so that psort.c can use virtual files without severe performance penalties.
* Add new postgres -O option to allow system table structure changes.Bruce Momjian1999-03-17
|
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-13
|
* Cleanup of source files where 'return' or 'var =' is alone on a line.Bruce Momjian1999-02-03
|
* Get rid of some minor compiler warnings.Tom Lane1998-10-26
| | | | | (HP's cc doesn't like if you forward-declare a routine static, and then don't make it static in the actual definition...)
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-01
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-01
|
* Remove un-needed braces around single statements.Bruce Momjian1998-06-15
|
* Hi,Bruce Momjian1998-04-06
| | | | | | | | | | | | | | | | | | | | | | Attached you'll find a (big) patch that fixes make dep and make depend in all Makefiles where I found it to be appropriate. It also removes the dependency in Makefile.global for NAMEDATALEN and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh a little smarter. This no longer requires initdb.sh that is turned into initdb with a sed script when installing Postgres, hence initdb.sh should be renamed to initdb (after the patch has been applied :-) ) This patch is against the 6.3 sources, as it took a while to complete. Please review and apply, Cheers, Jeroen van Vianen
* Remove GetDatabaseName/Path and use globals. Make consts later.Bruce Momjian1998-04-05
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-26
|
* Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian1998-01-07
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-05
|
* Major cleanout of PORTNAME variables from Makefiles...bound to screw upMarc G. Fournier1997-12-20
| | | | some of the ports...
* More cleanups. I can now compile without PORTNAME being defined nMarc G. Fournier1997-12-19
| | | | | | | | | 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 :)
* Support alternate database locations.Thomas G. Lockhart1997-11-07
|
* Inline memset() as MemSet().Bruce Momjian1997-09-18
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-08
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-08
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-07
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-19
| | | | NOT_USED.
* Reduce open() calls. Replace fopen() calls with calls to fd.c functions.Bruce Momjian1997-08-18
|
* Remove more (void) and fix -Wall warnings.Bruce Momjian1997-08-12
|
* Added SCO support, from Daniel Harris.Bruce Momjian1997-07-28
|
* AllocateFile():Vadim B. Mikheev1997-05-23
| | | | | | | fdleft = pg_nofile() - allocatedFiles - nfile; looks more realistic, but too noisy - fdleft = pg_nofile() - allocatedFiles; restored.
* 1. Cleanup (no more FreeFd - unuseful; others).Vadim B. Mikheev1997-05-22
| | | | | 2. FreeFile() has to do nothing with nfile (# of files opened by VFD manager).
* Make the error message output by AllocateFile() if failes toMarc G. Fournier1997-02-20
| | | | | open Nulldev a *bit* more user friendly...or, at least, admin friendly...have it print strerror(errno) as well
* Remove WIN32 defines. They never worked.Bruce Momjian1997-02-14
|
* Convert MISSING_SYSCONF to !HAVE_SYSCONF for autoconfMarc G. Fournier1997-01-27
| | | | From: Keith Parks
* From: Keith Parks <emkxp01@mtcc.demon.co.uk>Marc G. Fournier1997-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OK, The votes are in for the NOFILES limit. With the exception of Next, for which I've not yet heard, all supported platforms seem to have the sysconf() call. port supported default Source. aix yes 2000 darrenk@insightdist.com alpha yes 4096 mjl@wwx.vip.at BSD44_derived yes 64 scrappy@hub.org bsdi yes ??? maillist@candle.pha.pa.us dgux yes ??? geek@andrew.cmu.edu hpux yes 60 emkxp01@mtcc.demon.co.uk i386_solaris yes 64 emkxp01@mtcc.demon.co.uk irix5 yes 200 martin@biochem.uc.ac.uk linux yes 256 emkxp01@mtcc.demon.co.uk next ???? ??? sparc_solaris yes 64 emkxp01@mtcc.demon.co.uk sunos4 yes 64 emkxp01@mtcc.demon.co.uk svr4 yes 64 chicks@chicks.net ultrix4 yes 64 erik@sockdev.uni-c.dk So here's a patch that I think will do the job. (I assume Next will have sysconf() but if not just add MISSING_SYSCONF to the config.h file ) Thanks, Keith.
* Fixed Assert check where ! should be !=.Bruce Momjian1996-12-28
|
* Add asserts to check for file descriptor ring corruption.Bryan Henderson1996-12-27
|
* Change portname "sparc" to "sunos4" and change some portname dependencies toBryan Henderson1996-12-04
| | | | feature dependencies. Thanks Kurt J. Lidl.
* Makefile cleanup after reorganizationBruce Momjian1996-11-09
|
* Compile and warning cleanupBruce Momjian1996-11-08
|