OSDN Git Service

Centralize implementation of delay code by creating a pg_usleep()
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 10 Feb 2004 03:42:45 +0000 (03:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 10 Feb 2004 03:42:45 +0000 (03:42 +0000)
commit58f337a3435cd6ac46dfca4ce1a44b837080745e
tree03e4a309f7ada6914474c02fd9b53df7ab1da975
parent87bd95638552b8fc1f5f787ce5b862bb6fc2eb80
Centralize implementation of delay code by creating a pg_usleep()
subroutine in src/port/pgsleep.c.  Remove platform dependencies from
miscadmin.h and put them in port.h where they belong.  Extend recent
vacuum cost-based-delay patch to apply to VACUUM FULL, ANALYZE, and
non-btree index vacuuming.

By the way, where is the documentation for the cost-based-delay patch?
16 files changed:
src/Makefile.global.in
src/backend/access/gist/gist.c
src/backend/access/hash/hash.c
src/backend/access/nbtree/nbtree.c
src/backend/access/rtree/rtree.c
src/backend/access/transam/xact.c
src/backend/commands/analyze.c
src/backend/commands/vacuum.c
src/backend/commands/vacuumlazy.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/lmgr/s_lock.c
src/backend/utils/init/globals.c
src/include/commands/vacuum.h
src/include/miscadmin.h
src/include/port.h
src/port/pgsleep.c [new file with mode: 0644]