aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/fd.c
Commit message (Collapse)AuthorAge
...
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-12
|
* Buffer manager modifications to keep a local buffer-dirtied bit as wellTom Lane2000-04-09
| | | | | | | | as a shared dirtybit for each shared buffer. The shared dirtybit still controls writing the buffer, but the local bit controls whether we need to fsync the buffer's file. This arrangement fixes a bug that allowed some required fsyncs to be missed, and should improve performance as well. For more info see my post of same date on pghackers.
* Fix a bunch of minor portability problems and maybe-bugs revealed byTom Lane2000-03-17
| | | | | | running gcc and HP's cc with warnings cranked way up. Signed vs unsigned comparisons, routines declared static and then defined not-static, that kind of thing. Tedious, but perhaps useful...
* Fix comment spacing.Bruce Momjian2000-02-28
|
* Add:Bruce Momjian2000-01-26
| | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
* 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.
* 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?
* 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
|
* 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
|
* 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.
* Compile and warning cleanupBruce Momjian1996-11-08
|
* Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>Marc G. Fournier1996-11-06
|
* Remove OPENLINK defineBruce Momjian1996-11-04
|