Commit Graph

261 Commits (cc7cd8774a644bfb484ee31320e85764ba68d1e3)

Author SHA1 Message Date
Tom Lane c9d8edc906 Repair bufmgr deadlock problem reported by Michael Wildpaner. Must take 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Neil Conway 4acc97d7e4 Assert that BufferIsPinned() in IncrBufferRefCount(), rather than using 21 years ago
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 8f9f198603 Restructure subtransaction handling to reduce resource consumption, 22 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 bbf0ebadaf StrategyDirtyBufferList wasn't being careful to honor max_buffers limit. 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 921d749bd4 Adjust our timezone library to use pg_time_t (typedef'd as int64) in 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 1a321f26d8 Code review for EXEC_BACKEND changes. Reduce the number of #ifdefs by 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
Jan Wieck dfdd59e918 Adjusted calculation of shared memory requirements to new 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
Bruce Momjian d75b2ec4eb This patch is the next step towards (re)allowing fork/exec. 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
Peter Eisentraut c9190ef074 Conditionalize variable that is only used conditionally, to avoid warning. 22 years ago
Tom Lane 0a97cb37fc Remove unused variable. 22 years ago
Jan Wieck cfeca62148 Background writer process 22 years ago
Jan Wieck 1f45555892 Changed parameter name for shared cache status report interval to 22 years ago
Jan Wieck 7c360d65a8 Added documentation for the new interface between the buffer manager 22 years ago
Jan Wieck 6b86d62b00 2nd try for the ARC strategy. 22 years ago