Commit Graph

152 Commits (19d0c46def867119219e8362aecd3ba2fa745ee2)

Author SHA1 Message Date
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Tom Lane 9e936693a9 Fix free space map to correctly track the total amount of FSM space needed 19 years ago
Tom Lane 08ae5edc5c Optimize the case where a btree indexscan has current and mark positions 19 years ago
Tom Lane 3fdeb189e9 Clean up code associated with updating pg_class statistics columns 19 years ago
Tom Lane 5749f6ef0c Rewrite btree vacuuming to fold the former bulkdelete and cleanup operations 19 years ago
Tom Lane 09cb5c0e7d Rewrite btree index scans to work a page at a time in all cases (both 19 years ago
Tom Lane e57345975c Clean up API for ambulkdelete/amvacuumcleanup as per today's discussion. 19 years ago
Tom Lane d2896a9ed1 Arrange to cache btree metapage data in the relcache entry for the index, 19 years ago
Tom Lane 89bda95d82 Remove the 'slow' path for btree index build, which built the btree 20 years ago
Tom Lane a8b8f4db23 Clean up WAL/buffer interactions as per my recent proposal. Get rid of the 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane 2d7f694729 Move btbulkdelete's vacuum_delay_point() call to a place in the loop where 20 years ago
Tom Lane d52a57fc30 Actually there's a better way to do this, which is to count tuples 20 years ago
Tom Lane fd267c1ebc Skip ambulkdelete scan if there's nothing to delete and the index is not 20 years ago
Bruce Momjian 77bb65d3fc Revert based on Tom's recommendation: 20 years ago
Bruce Momjian bf324946b3 Allow VACUUM to complete faster by avoiding scanning the indexes when no 20 years ago
Tom Lane c389760c32 Remove the no-longer-useful BTItem/BTItemData level of structure, and 20 years ago
Tom Lane cefcbbf1fd Push the responsibility for handling ignore_killed_tuples down into 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Tom Lane 766dc45d9f Add defenses to btree and hash index AMs to do simple sanity checks 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 35e9b1cc1e Clean up a couple of ad-hoc computations of the maximum number of tuples 20 years ago
Neil Conway 3140437495 This patch refactors away some duplicated code in the index AM build 20 years ago
Tom Lane 30f540be43 Repair very-low-probability race condition between relation extension 20 years ago
Tom Lane 278bd0cc22 For some reason access/tupmacs.h has been #including utils/memutils.h, 20 years ago
Tom Lane bf3dbb5881 First steps towards index scans with heap access decoupled from index 21 years ago
Tom Lane ee4ddac137 Convert index-related tuple handling routines from char 'n'/' ' to bool 21 years ago
Tom Lane 354049c709 Remove unnecessary calls of FlushRelationBuffers: there is no need 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Tom Lane 5374d097de Change planner to use the current true disk file size as its estimate of 21 years ago
Neil Conway 5d1dd2bc55 Micro-optimization of markpos() and restrpos() in btree and hash indexes. 21 years ago
Neil Conway 4d0f669f3c Remove obsolete comment from btbuild() and hashbuild(): we no longer use 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 c3a153afed Tweak palloc/repalloc to allow zero bytes to be requested, as per recent 21 years ago
Tom Lane 2095206de1 Adjust btree index build to not use shared buffers, thereby avoiding the 21 years ago
Tom Lane e674707968 Minor code rationalization: FlushRelationBuffers just returns void, 21 years ago
Tom Lane 4af3421161 Get rid of rd_nblocks field in relcache entries. Turns out this was 21 years ago
Tom Lane 37fa3b6c89 Tweak indexscan and seqscan code to arrange that steps from one page to 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
Tom Lane 391c3811a2 Rename SortMem and VacuumMem to work_mem and maintenance_work_mem. 22 years ago
Neil Conway 192ad63bd7 More janitorial work: remove the explicit casting of NULL literals to a 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Tom Lane fa5c8a055a Cross-data-type comparisons are now indexable by btrees, pursuant to my 22 years ago
Tom Lane e33f205a94 Adjust btree index build procedure so that the btree metapage looks 22 years ago
Bruce Momjian f3c3deb7d0 Update copyrights to 2003. 22 years ago
Bruce Momjian 089003fb46 pgindent run. 22 years ago
Tom Lane ec7aa4b515 Error message editing in backend/access. 22 years ago