TestConfiguration returns int, not bool. This mistake is relatively
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Mar 2003 20:32:29 +0000 (20:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Mar 2003 20:32:29 +0000 (20:32 +0000)
commit7cd30e1590c7d6b07d00da4170eaae094ab81bbd
tree83504b535bda5afa229542ee267d454e338a7871
parent80597fd99240a1f5f70515481f1cc7e26aa05595
TestConfiguration returns int, not bool.  This mistake is relatively
harmless on signed-char machines but would lead to core dump in the
deadlock detection code if char is unsigned.  Amazingly, this bug has
been here since 7.1 and yet wasn't reported till now.  Thanks to Robert
Bruccoleri for providing the opportunity to track it down.
src/backend/storage/lmgr/deadlock.c