Commit Graph

181 Commits (dec2c77c1f6321200b65ebcda8aa0d9894c21190)

Author SHA1 Message Date
Tom Lane 4347cc2392 Allow background writing to be shut down by setting limit values to zero. 21 years ago
Tom Lane fdd13f1568 Give the ResourceOwner mechanism full responsibility for releasing buffer 21 years ago
Tom Lane 1c2de47746 Remove BufferLocks[] array in favor of a single pointer to the buffer 21 years ago
Tom Lane 9ffc8ed58b Repair possible failure to update hint bits back to disk, per 21 years ago
Tom Lane eb917c1a21 I can't see any good reason for DropRelFileNodeBuffers to be issuing 22 years ago
Tom Lane a421b4e850 FlushRelationBuffers was also being a bit cavalier about whether the 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 22 years ago
Tom Lane fe548629c5 Invent ResourceOwner mechanism as per my recent proposal, and use it to 22 years ago
Tom Lane 573a71a5da Nested transactions. There is still much left to do, especially on the 22 years ago
Tom Lane 2467394ee1 Tablespaces. Alternate database locations are dead, long live tablespaces. 22 years ago
Tom Lane e6cba71503 Add some code to Assert that when we release pin on a buffer, we are 22 years ago
Tom Lane 91d20ff7aa Additional mop-up for sync-to-fsync changes: avoid issuing fsyncs for 22 years ago
Tom Lane e674707968 Minor code rationalization: FlushRelationBuffers just returns void, 22 years ago
Tom Lane 9b178555fc Per previous discussions, get rid of use of sync(2) in favor of 22 years ago
Tom Lane 076a055acf Separate out bgwriter code into a logically separate module, rather 22 years ago
Tom Lane 4af3421161 Get rid of rd_nblocks field in relcache entries. Turns out this was 22 years ago
Neil Conway 0370951347 Tiny assorted fixes: correct a typo in a comment in vacuumlazy.c, remove 22 years ago
Neil Conway 139abc2896 Make LocalRefCount and PrivateRefCount arrays of int32, rather than long. 22 years ago
Tom Lane 95a03e9cdf Another round of code cleanup on bufmgr. Use BM_VALID flag to keep track 22 years ago
Tom Lane 011c3e62e7 Code review for ARC patch. Eliminate static variables, improve handling 22 years ago
Tom Lane da99cce7cd Avoid delaying postmaster shutdown by up to 10 seconds on platforms 22 years ago
Jan Wieck fc65a3e1fd Fixed bug where FlushRelationBuffers() did call StrategyInvalidateBuffer() 22 years ago
Tom Lane 58f337a343 Centralize implementation of delay code by creating a pg_usleep() 22 years ago
Tom Lane 87bd956385 Restructure smgr API as per recent proposal. smgr no longer depends on 22 years ago
Jan Wieck f425b605f4 Cost based vacuum delay feature. 22 years ago
Jan Wieck 8d09e25693 Backing out the background writer sync() option. 22 years ago
Bruce Momjian 5ee2ae2049 Remove sleep() and use single PG_SLEEP call for Win32 signal handling 22 years ago
Jan Wieck d77b63b17c Added GUC variable bgwriter_flush_method controlling the action 22 years ago
Bruce Momjian 38081fd000 Change PG_DELAY from msec to usec and use it consistenly rather than 22 years ago
Neil Conway 192ad63bd7 More janitorial work: remove the explicit casting of NULL literals to a 22 years ago
Tom Lane 16cc9dff4f bufmgr.c failed to compile on Darwin, because it didn't include 22 years ago
Neil Conway fef0c8345a I posted some bufmgr cleanup a few weeks ago, but it conflicted with 22 years ago
Tom Lane 0902ece5b9 Force zero_damaged_pages to be effectively ON during recovery from WAL, 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Tom Lane 0a97cb37fc Remove unused variable. 22 years ago
Jan Wieck cfeca62148 Background writer process 22 years ago
Jan Wieck 6b86d62b00 2nd try for the ARC strategy. 22 years ago
Jan Wieck 923e994d79 ARC strategy backed out ... sorry 22 years ago
Jan Wieck 48adc0b34b Replacement of the buffer replacement strategy with an ARC 22 years ago
Peter Eisentraut feb4f44d29 Message editing: remove gratuitous variations in message wording, standardize 23 years ago
Tom Lane ffafacc1f6 Repair potential deadlock created by recent changes to recycle btree 23 years ago
Bruce Momjian f3c3deb7d0 Update copyrights to 2003. 23 years ago
Bruce Momjian 089003fb46 pgindent run. 23 years ago
Tom Lane cfa191f3b8 Error message editing in backend/storage. 23 years ago
Tom Lane a4e775a263 Make use of new error context stack mechanism to allow random errors 23 years ago
Tom Lane fd42262836 Add code to apply some simple sanity checks to the header fields of a 23 years ago
Bruce Momjian 48ee6f4916 This trivial patch removes the usage of some old statistics code that no 23 years ago
Tom Lane c91b8bc537 Cosmetic fixes from Neil Conway. 24 years ago
Bruce Momjian e50f52a074 pgindent run. 24 years ago