Commit Graph

400 Commits (3985b600f57d75b9743d86430cb5c21370057a23)

Author SHA1 Message Date
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. 20 years ago
Bruce Momjian fab177e64f Improve documention on loading large data sets into plperl. 20 years ago
Tom Lane 3ae7e4a33b Remove BufferBlockPointers array in favor of a base + (bufnum) * BLCKSZ 20 years ago
Tom Lane 15269b5955 Avoid useless loop overhead in AtEOXact routines when the backend is 20 years ago
Tom Lane 7117cd3a77 Cause ShutdownPostgres to do a normal transaction abort during backend 20 years ago
Tom Lane 6eac4e69cf Tweak BgBufferSync() so that a persistent write error on a dirty buffer 20 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 21 years ago
Tom Lane a421b4e850 FlushRelationBuffers was also being a bit cavalier about whether the 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 21 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 21 years ago
Tom Lane fe548629c5 Invent ResourceOwner mechanism as per my recent proposal, and use it to 21 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