Commit Graph

261 Commits (58dfb07b5d84c0088033e2d22fc44df812fa6eb5)

Author SHA1 Message Date
Tom Lane ffae5cc5a6 Add a check to prevent overwriting valid data if smgrnblocks() gives a 20 years ago
Tom Lane 2e5e856f6b Marginal cleanup in arrangements for ensuring StrategyHintVacuum is cleared 20 years ago
Tom Lane 10b9ca3d05 Split the buffer mapping table into multiple separately lockable 20 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Tom Lane 0fcc3c2f1d Repair a low-probability race condition identified by Qingqing Zhou. 20 years ago
Tom Lane a8b8f4db23 Clean up WAL/buffer interactions as per my recent proposal. Get rid of the 20 years ago
Tom Lane 6d61cdec07 Clean up and document the API for XLogOpenRelation and XLogReadBuffer. 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane 9a506a6257 Arrange to call AbsorbFsyncRequests every so often while performing a 20 years ago
Tom Lane 304160c3e2 Fix ReadBuffer() to correctly handle the case where it's trying to extend 20 years ago
Tom Lane 195f164228 Get rid of the SpinLockAcquire/SpinLockAcquire_NoHoldoff distinction 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Tom Lane c859308aba DropRelFileNodeBuffers failed to fix the state of the lookup hash table 20 years ago
Tom Lane fbbe00242d Tweak buffer manager so that 'internal' accesses to a buffer do not 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 07eeb9d109 Do all accesses to shared buffer headers through volatile-qualified 20 years ago
Bruce Momjian 27639809d2 Reverse out Assert addition. 21 years ago
Bruce Momjian fab177e64f Improve documention on loading large data sets into plperl. 21 years ago
Tom Lane 3ae7e4a33b Remove BufferBlockPointers array in favor of a base + (bufnum) * BLCKSZ 21 years ago
Tom Lane 15269b5955 Avoid useless loop overhead in AtEOXact routines when the backend is 21 years ago
Tom Lane 7117cd3a77 Cause ShutdownPostgres to do a normal transaction abort during backend 21 years ago
Tom Lane 6eac4e69cf Tweak BgBufferSync() so that a persistent write error on a dirty buffer 21 years ago
Tom Lane ee3b71f6bc Split the shared-memory array of PGPROC pointers out of the sinval 21 years ago
Tom Lane 354049c709 Remove unnecessary calls of FlushRelationBuffers: there is no need 21 years ago
Tom Lane cef01c3355 Avoid infinite loop in InvalidateBuffer if we ourselves are holding 21 years ago
Tom Lane 5d5087363d Replace the BufMgrLock with separate locks on the lookup hashtable and 21 years ago
Tom Lane 0ce4d56924 Phase 1 of fix for 'SMgrRelation hashtable corrupted' problem. This 21 years ago
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 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