]> granicus.if.org Git - postgresql/commit
Arrange for large sequential scans to synchronize with each other, so that
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Jun 2007 18:23:53 +0000 (18:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Jun 2007 18:23:53 +0000 (18:23 +0000)
commita04a423599b347325f9a73dfb2d533b24e1cbab3
tree5aeb620900a705222eb202c7b4b1d33266d1c190
parent6d6d14b6d52f7a709fba8fd23244a7de014f2048
Arrange for large sequential scans to synchronize with each other, so that
when multiple backends are scanning the same relation concurrently, each page
is (ideally) read only once.

Jeff Davis, with review by Heikki and Tom.
src/backend/access/heap/Makefile
src/backend/access/heap/heapam.c
src/backend/access/heap/syncscan.c [new file with mode: 0644]
src/backend/storage/buffer/freelist.c
src/backend/storage/ipc/ipci.c
src/backend/utils/misc/guc.c
src/include/access/heapam.h
src/include/access/relscan.h
src/include/pg_config_manual.h
src/include/storage/lwlock.h