]> granicus.if.org Git - postgresql/commit
Fix failure in CreateCheckPoint on some Alpha boxes --- it's not OK to
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Dec 2000 21:31:21 +0000 (21:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Dec 2000 21:31:21 +0000 (21:31 +0000)
commit7f60b81e1ab7cbb27298e980f25445dfa58d50bb
treef1ace7fa85f8f4037bf254008b41e65c9a7ce7f8
parent7d363c4c3376459bc9389b250bc7b70e9cf7aa75
Fix failure in CreateCheckPoint on some Alpha boxes --- it's not OK to
assume that TAS() will always succeed the first time, even if the lock
is known to be free.  Also, make sure that code will eventually time out
and report a stuck spinlock, rather than looping forever.  Small cleanups
in s_lock.h, too.
src/backend/access/transam/xlog.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/s_lock.c
src/include/storage/s_lock.h