Commit Graph

293 Commits (51ee9fa1574e1826dde4012ecb07455d73fb1444)

Author SHA1 Message Date
Tom Lane cd24163f6d Fix another passel of include-file breakage. Kris Jurka, Tom Lane 20 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Tom Lane 8ff80c1bd3 Remove obsolete comment about VACUUM FULL: it takes buffer content locks 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
Tom Lane 0007490e09 Convert the arithmetic for shared memory size calculation from 'int' 21 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 e92a88272e Modify hash_search() API to prevent future occurrences of the error 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 91728fa26c Add temp_buffers GUC variable to allow users to determine the size 21 years ago
Tom Lane d65522aeb6 Upgrade localbuf.c to use a hash table instead of linear search to 21 years ago
Tom Lane 88164799ce Need to reset local buffer pin counts, not only shared buffer pins, 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 cc4f58f4cd Ensure that all details of the ARC algorithm are hidden within freelist.c. 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 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